I get the following error when building my Android project in Android Studio with gradle:
I’m not too familiar with the Gradle build process. Does anyone have any hints as to what I should be looking for?
I get the following error when building my Android project in Android Studio with gradle:
I’m not too familiar with the Gradle build process. Does anyone have any hints as to what I should be looking for?
This problem is being actively discussed in the READ_PHONE_STATE thread in the Android forum here:
http://forum.unity3d.com/threads/unity-5-1-adds-android-permission-read_phone_state-automatically-how-to-remove-it.333431/page-2
I take that back. Reactivating the discussion here, from this thread: http://forum.unity3d.com/threads/unity-5-1-adds-android-permission-read_phone_state-automatically-how-to-remove-it.333431/page-2
Turns out the UT rep who posted there only represented Unity Analytics. Is there anyone here who can comment or help me out in regards to Unity Ads? Thank you.
Did you ever get this figured out? Having same issue but not finding any solutions anywhere.
Sort of. I continued the discussion in yet another thread because I was posting all over the place without any clearly defined problem:
This got my test build successfully built, deployed, and run on a device. In that thread, I mention the steps about Importing vs Opening a Unity Android project in Android studio, which is explicitly stated in numerous locations, but it is very easy to miss.
However, I wasn’t able to get my main project running due to some exceptions on load. I haven’t investigated this yet, but felt that it was beyond the scope of the problem that I defined.
While it’s unfortunate that you’re running into this problem, I’m glad I’m not the only one that ran into it =/. Good luck!