Open botamochi6277 opened 4 years ago
I can't understand this error message was occurred by NCMB.
> Project with path ':unity-android-resources' could not be found in root project 'gradleOut'.
Can you success building your project if you removed NCMB libraly and code?
I succeeded building my application before importing NCMB library.
I did only add NCMB library and the Quick Start Guide.
I use default Gradle Settings, do not use Custom Gradle Template.
Could you check your line #42-44 in your gradle file? It's temporary file, so perhaps the Unity builder will remove it automatically.
/Users/botamochi/GitRep/swordtrial/Temp/gradleOut/build.gradle' line: 43
Line 43 of "/Temp/gradleOut/build.gradle" is implementation project(':unity-android-resources')
.
Unity may makes this file automatically every building.
Does NCMB library hide ':unity-android-resources' from 'gradleOut'?
I succeeded in building with removing mainTemplate.gradle
and settingsTemplate.gradle
.
Although I unchecked Custom Gradle Template
in project settings, Unity builder may use custom gradle settings.
I fail to build my application for Android(Oculus Quest) with Gradle.
I added basic NCMB functions according to Quick Start Guide.
My application works well in the unity scene view.
Following error messages appeared when I built. Should I edit gradle settings?
My Environment OS: MacOS Mojave 10.14.5 Unity: 2019.2.12f1 Personal AndroidSDK build-tools : 28.0.3(Unity android build support) NCMB: 4.0.3