Which one did you use? The SDK samples or from scratch?
Can you send me your gradle file? And the print of the installed SDK tools?
yes, I have that line duplicated :/ but without it, the same error, android-26 not found.
compile 'com.android.support:appcompat-v7:26.1.0'
make it one time and then try again.
https://www.youtube.com/watch?v=ux4HbnUjNMc&t=602s
to the Wikitude samples in the SDK.
and
https://www.wikitude.com/external/doc/documentation/latest/android/setupguideandroid.html
to try it from scratch
If I create a new project, the compileSdkVersion 26 builds successfully. I don't understand why in the sdk-examples it doesn't work :/
I have this:
Did you setup from scratch or did you used the Wikitude-sdk-samples folder from the SDK?
I am trying to do it in both ways. But I don't have advances:/
but it is installed
Right now, it is :
Error:A problem occurred configuring project ':wikitude-sdk-samples'.
> Failed to find target with hash string 'android-26' in: C:\Sdk
this is my build.gradle :
apply plugin: 'com.android.application'
android {
compileSdkVersion 26
buildToolsVersion commonBuildToolsVersion
defaultConfig {
applicationId "com.wikitude.sdksamples"
minSdkVersion 15
targetSdkVersion 26
versionName "7.2.1"
versionCode 7210
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
debuggable true
}
}
applicationVariants.all { variant ->
variant.outputs.each { output ->
def outputFile = output.outputFile
if (outputFile != null && outputFile.name.endsWith('.apk')) {
def fileName = "wikitude-sdk-samples-" + variant.buildType.name + ".apk"
output.outputFile = new File(outputFile.parent, fileName)
}
}
}
flavorDimensions "arch"
productFlavors {
arm7 {
dimension "arch"
}
arm8 {
dimension "arch"
}
x86 {
dimension "arch"
}
allarchs {
dimension "arch"
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile (name: 'wikitudesdk', ext :'aar')
compile 'com.android.support:appcompat-v7:26.1.0'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
arm7Compile project(path: ':plugins', configuration: 'arm7Release')
arm8Compile project(path: ':plugins', configuration: 'arm8Release')
x86Compile project(path: ':plugins', configuration: 'x86Release')
allarchsCompile project(path: ':plugins', configuration: 'allarchsRelease')
compile "com.android.support:appcompat-v7:26.1.0"
}
repositories {
flatDir {
dirs 'libs'
}
}
bhoomi vaghasiya can you help me to make the setup the project in the Android Studio? I always have errors in gradle. How did you do that?
PS: I also want to do an app like yours, using the map POI.
Thanks in advance!
bhoomi vaghasiya

I have created android app till this image in android studio using javascript API. I want POIs that contain google map places instead of this randon POIs. What should I do?