Hi!
I’m trying to get the android mode to work on my computer, but keep getting the errror message: “Lost connection with device while installing”. I’ve seen other people posting about this, but none of the answers worked for me. I’m using this guide: https://android.processing.org/tutorials/getting_started/index.html
This is what I did:
Downloaded the SDK automatically
Turned on USB debugging on my A5
Installed an USB-Driver from Samsung, since I am using a Samsung phone. I could not do it the way the tutorial wants me to do it, since the USB-Driver came as an installer, and not as a folder. I also can’t find the temp folder in the mode folder which should contain USB-Drivers.
Hi @Schred I think what happened here is that you use a more recent manifest xml file. You see, every time you create a sketch in Processing Android, the PDE also generates a manifest file as this file is required by Android apps and it is used to build your apk file. In your case, because you are probably executing an example demo, this examples come with an older version of this manifest file. When you move the code from an old sketch to a new one, the new sketch will have the newest (currently supported) manifest file.
It is great to hear your app is working now. Thank you for sharing your solution as it will help other users in the same situation.