Hi ,
I am trying to use "Open GL ES 3.x SDK for Android" using android studio for compilation. I am facing issue while compiling the sample cases in the SDK .I tried to compile "TextureCube" example . Below I have mentioned the errors which I receive while compilation:
Error:(12, 0) Error: NDK integration is deprecated in the current plugin. Consider trying the new experimental plugin. For details, see http://tools.android.com/tech-docs/new-build-system/gradle-experimental. Set "android.useDeprecatedNdk=true" in gradle.properties to continue using the current NDK integration.
<a href="openFile:C:\Users\jpatil1\AndroidStudioProjects\TextureCube\app\build.gradle">Open File</a>
So can someone provide the steps necessary to compile the examples provided in SDK using android studio ?
regards,
jitender
What happens if you set "android.useDeprecatedNdk=true" in gradle.properties, does it still give you errors?
Chris
Hi Chris,
If i set android.useDeprecatedNdk=true" in gradle.properties , I get the below mentioned error=>
Error:A problem occurred configuring project ':app'.
> failed to find target with hash string 'android-17' in: C:\Users\jpatil1\AppData\Local\Android\sdk2
<a href="openAndroidSdkManager">Open Android SDK Manager</a>
hi Jitender,
As Hans-Kristian mentioned we don't support Android Studio yet. If you google your problem you will find lots of solutions. Here is a similar one for you http://stackoverflow.com/questions/18068920/android-studio-failed-to-find-target-android-18 , you can try the solutions provided in that question. One of them should work.
/Wasim