settings unity project
Opened this issue · 7 comments
Hi All,
I download this repo and in the example folder i find the unity project
is possible to have an info about unity configuration?
I try to open the project with unity 2021.3.8f1 but in the bar menu file there isn't a menu for RN export...
some guys spoke about a readme file but i dont' find that... but i find a older guide:
https://github.com/asmadsen/react-native-unity-view
is normal?
can you help me please?
thank you
@azesmway Can you explain to me if i need set some option in the editor?
-> i opened the example in Unity editor
-> switch android platform
-> add IL2CPP, and ARM64
AND?
thanks
Thank You for your fast help!
@azesmway the export work fine but in android studio the android build fail.
I have changed the ndk version: before -> 21.3.6528147 now -> 25.1.8937393
but i have 2 fails:
1 -
Execution failed for task ':unityLibrary:BuildIl2CppTask'.
Process 'command 'C:/Users/USER/Desktop/rn-unity/unity/builds/android/unityLibrary/src/main/Il2CppOutputProject/IL2CPP/build/deploy/netcoreapp3.1/il2cpp.exe'' finished with non-zero exit value 4
2 -
- What went wrong:
Execution failed for task ':app:processDebugMainManifest'.
Manifest merger failed : Apps targeting Android 12 and higher are required to specify an explicit value for
android:exported
when the corresponding component has an intent filter defined. See https://developer.android.com/guide/topics/manifest/activity-element#exported for details.
build grandle:
ext {
buildToolsVersion = "31.0.0"
minSdkVersion = 21
compileSdkVersion = 31
targetSdkVersion = 31
ndkVersion = "25.1.8937393"
}
have any idea?
I try your example:
https://drive.google.com/file/d/1W1wiwH7HVMKnWDi6uJN8RqQRmKh7KgTw/view?usp=sharing
Execution failed for task ':unityLibrary:BuildIl2CppTask'.
But not compile