You need to have USB debuging in device in order to ADB that editor use to work. If you have Android 4.0 or lower you you just enable in developer settings on you device, if you got 4.1 or higher they are hidden, you need to go to ablout device and click build number until is say you unlocked the developer settings.
Hey Guys!
I packed my project and now there is a folder with three files in it: Install_MyProject_Development.bat; main.00001.com.epicgames.MyProject.obb; MyProject-armv7.apk
So: If I copy only the .apk file to my device and run it: nothing. So I thought I must install it with the batch file. But if I started the batch file, theres the text: - waiting for device - and nothing happens if I plug in my galaxy s4.
I hope u can help me
Thanks for the quick answer but I already have USB-Debugging enabled.
Have you set your device to trust you PC? If not, plug it into your computer, and your device should ask you if you want to trust your PC.
You installed drivers?
Also firewall can block ADB communcation? You have envriament varabales set up pointing to Android SDK?
Also editor should see your device if ADB works.
THANKS! It works but if I start the app on my device a black screen appears…
my batch file give me this error…
ADB server didn’t ACK
- failed to start daemon*
error: cannot connect to daemon
error: cannot connect to daemon - daemon not running. starting it now on port 5037 *
what can i do? my device shows up in adb devices…
one thing that trips me up is lately, after an update, when I connect my device to pc my USB is set to charging only. I have to go to my usb options and switch it to file transfer. Maybe that will help?
What about creating apk files via visual studio ? I can’t run them they don’t work.
When you open your unreal game project with VS and than set the solution configurations to “development” and solution platforms to “Android” and start to build your project, if it is successful it creates 3 files in your Unreal Projects/“Your Project”/Binaries/Android. The files have these extensions “.target” , “.apk”, “.so”
If i copy them to my android phone and try to install the apk file, it installs but when i try to open it it won’t open.
What is the official and or proper way to install your game or create an .apk file for your game via “Visual Studio” ? Because i’ve already tried and did the other way which is from unreal engine/package project and later install the .bat file.
I am trying to Visual Studio way but i believe i am doing some major mistakes. It must be possible creating your apk from VS and later run it in your phone right ?
When the device is on “Charging only” I believe it can’t debug. It must be in file transfer mode.