Unable to target build platforms when building on Andriod (2018.2.0f2)
Hello, I'm having trouble building my game to my device. I have installed android studio and the java development kit but I keep getting this error. Does anyone know what this means?
Answer by Christoffolis · Jul 21, 2018 at 12:29 AM
Hey all! I found the fix.
First do this: https://answers.unity.com/questions/1323731/unable-to-list-target-platforms-please-make-sure-t.html
Then If it wont get device properties do this: https://forum.unity.com/threads/build-failure-unable-to-retrieve-device-properties-in-unity-4-2-1.213178/ (kill adb in task manager)
I hope this helps someone. :)
Answer by mynameisjohnj · Mar 01, 2019 at 10:57 PM
I just ran into this having never seeing it before. Is the official solution to run adb kill-server every time I build?
One new thing I notice is that there's an android emulator running - see my adb devices output:
List of devices attached
FA6A40303383 device
emulator-5562 offline
This issue and that emulator seem to have appeared at the same time - does anyone have any ideas? I actually don't want that emulator to start as it makes it harder to run adb commands: https://stackoverflow.com/questions/54953134/prevent-android-emulator-from-starting
It may be related to my USB driver as well - I'm using the NVidia Android USB driver but I'll try the official one.
Answer by mpaforoufakis · Dec 27, 2019 at 11:27 AM
This is caused by NTKDaemon ...uninstall this fixes will fix emulator-5562 issue.,This is caused by NTKDaemon ..Native instruments VSTs use this to connect to a server. Uninstall NTKDaemon and "emulator-5562 offline" will be gone!
Your answer
Follow this Question
Related Questions
Monetization breaks iOS build in XCode. Also breaks Android build. 1 Answer
Ads aren't showing in my builds/showing placeholder 0 Answers
getting stuck at build with Il2cpp.exe, crashing everytime 0 Answers
Problem Building game on Android smartphone- Black screen and back to menu android. 0 Answers