Question by
pureumireu · May 01, 2017 at 05:05 PM ·
build-errorandroid buildrecompile
What is the reason for 'Failed to recompile android resource files.'?
Hi, Hello, 안녕하십니까. I think this is a problem.
stderr[
nedCrow\mandraCompany\package\R.java:8: error: <identifier> expected
package nedCrow.mandraCompany.package;
I had a problem when the build that after put in android plugin. In a Similar questions , the problem was called a plugin file's name. That is, com.'Final'.package. Anyway, i want to know what the problem is..
Next is Error Text All.
CommandInvokationFailure: Failed to recompile android resource files.
C:\Program Files\Java\jdk1.8.0_131\bin\javac.exe -bootclasspath "C:/Users/Pureumireu/AppData/Local/Android/sdk\platforms\android-25\android.jar" -d "D:\Work\MandraCompany\Temp\StagingArea\bin\classes" -source 1.6 -target 1.6 -encoding UTF-8 "android\support\v4\R.java" "com\google\android\gms\R.java" "com\google\android\gms\auth\R.java" "com\google\android\gms\auth\api\R.java" "com\google\android\gms\base\R.java" "com\google\android\gms\drive\R.java" "com\google\android\gms\games\R.java" "com\google\android\gms\nearby\R.java" "com\google\android\gms\tasks\R.java" "com\google\example\games\mainlibproj\R.java" "nedCrow\mandraCompany\package\R.java"
stderr[
nedCrow\mandraCompany\package\R.java:8: error: <identifier> expected
package nedCrow.mandraCompany.package;
^
1 error
]
stdout[
]
exit code: 1
UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg)
UnityEditor.Android.PostProcessor.Tasks.TasksCommon.Exec (System.String command, System.String args, System.String workingdir, System.String errorMsg, Int32 retriesOnFailure)
UnityEditor.HostView:OnGUI()
Comment
Your answer
Follow this Question
Related Questions
Im trying to switch my game to mobile/android and it wont work 0 Answers
Getting odd compiler error when I try to build my game to my Android phone. 0 Answers
Android Build Assertion Exception with entities 0.13 0 Answers
Getting error about incorrect bundle id, Android Cloud Build 0 Answers
Missing for the selected architecture armeabi-v7a (Android build) 0 Answers