![]() Not sure if this is related but when I tried to do the Gradle sync, after modifying the gradle scripts, it complained that the minSDK version of the NativeApp project was 16 while the minSDK version of the UnityLibrary was 19. I think I built both the UnityLibrary and the NativeApp using SDK API 28 (Pie). If I click on the Unity button to take me back to the MainView, I get a NullReference in showHostMainWindow probably beacuse the Main View does not even exist.ĭev / Test environment: Pixel 2 XL running Android 9 pie. with the spinning cube) and skips the whole Native app layer (obviously, I don't see the native buttons in the middle as well). But if I launch the other NativeApp app, it launches me straight into the Unity view (i.e. When I tap on one of them, it launches the Native app correctly and I can go back and forth between Unity and the Android view. I see two "NativeApp" apps installed on my test android device when I build / deploy the NativeApp project from AndroidStudio. ![]() Tried this out right now and it seems to work great! Export UnityProject to androidBuild folder, the folder structure should look like this:.at Build Settings (Menu / File / Build Settings).Generate gradle project for Android platform For convenience uncompress both projects in same folder:Ģ. ![]()
0 Comments
Leave a Reply. |