i can create apk without wikitute SDK, but when i import wikitute SDK and trying to create apk, lots of error show. Please help me. SEE ATTACAMENT IMAGE,
1:- C:\Users\msahkoo\BALAJI\Temp\gradleOut\src\main\AndroidManifest.xml:3:3-72 Error:
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) (at C:/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:179)
2:-uses-sdk:minSdkVersion 16 cannot be smaller than version 21 declared in library [:android_component:] C:\Users\msahkoo\.gradle\caches\transforms-2\files-2.1\8d2f21537a33e0063cf99892e979e924\AndroidManifest.xml as the library might be using APIs not available in 16
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) (at C:/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:179)
Hi,
Could you please provide the Wikitude SDK version you are working with?
Thanks,
Eva
Hi,
The issue is that when you're building just the samples, the camera permissions are not requested anymore. The code that does this can be found in the MenuController.cs script, so if the Main Menu scene is missing, the camera cannot be accessed.
Best regards,
Eva
thanks it helped
Vishwahrocks
there are many error occur while building a apk for android ,but when i switch the platform for pc it works perfectly and i can build and run my project