Start a new topic
Solved

Unity build failed Android apk

Start a discussions : Wikitude

Hi,every body.


In  windows 10 .unity 5.4.3.  wikitudu sdk 6.1  android 4.0.3


I try build wikitude Demo to apk, hava a error message:

Failed to compile resources with the following parameters: -bootclasspath "D:/SDK/Android/sdk\platforms\android-24\android.jar" -d "F:\unity3d\testWIKIslam\Temp\StagingArea\bin\classes" -source 1.6 -target 1.6 -encoding UTF-8 "com\wikitude\unity\R.java" : D:\SDK\Android\sdk\platforms\android-24\android.jar(java/lang/Object.class): D:\SDK\Android\sdk\platforms\android-24\android.jar(java/lang/AutoCloseable.class):

UnityException: Resource compilation failed! Failed to recompile android resource files. See the Console for details.

 

my jdk version is 1.6,but i try change to jdk1.7 ,this error still exists.


Who can give me some advice? thank you!



Hello,

You need to open our example application in Unity and export the project for Android. After that, you can open the project in Android Studio and deploy it on your device. Did you follow the instructions described in our documentation here?


Thanks

Eva

 


1 person likes this

Eva:


I have already solved the problem.

I have been able to build normal after I use the 1.8 version of the JDK.

Thank you for your answer.


An


Login or Signup to post a comment