Resource not found exception coming on launch in android build
I have an xyz android project and some android lib projects linked to it. I am using all these as plugins in my unity project. I have copied the lib projects whole in to Assets/plugins/Android/ folder. Copied res, assets and android manifest of the xyz android project along with the jar(containing src folder and InAppBillingService java file) in to there. When I am making a split binary through Unity and installing on the device, its giving me following error:-
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.aquimo.collegebb/com.aquimo.collegebb.UnityPlayerNativeActivity}: android.content.res.Resources$NotFoundException: Resource ID #0x7f030015 at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2088) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2113) at android.app.ActivityThread.access$700(ActivityThread.java:139)
PS: in Temp/StagingArea/res/ folder I could not find the layout folder after build was made. Neither the R.java in Temp/StagingArea/gen/ folder contains the ids for layouts missing.
Answer by EZVidya · Jun 05, 2019 at 01:56 PM
Game view Add the above line to your strings.xml file in Android project
Your answer
Follow this Question
Related Questions
[SOLVED] duplicated class when building 1 Answer
Unity 2019.4.18f1 - Android SDK does not include your Target SDK of 28 1 Answer
Android support files and gradle build error 0 Answers
Google Play Store suddenly showing 0 supported devices 0 Answers
Standard Shader and reflection probe not working in Android build 0 Answers