Skip to content

Need to download and install SDK repeatedly #712

Open
@dfkettle

Description

@dfkettle

I'm not sure if this is expected behaviour or not, but every time I open Processing and select Android mode, I need to download and install the SDK. It's my understanding that you don't need to have Android Studio installed (which I don't), but if I have to go through all these steps every time, I may do that. I'm running Processing v4.0.1 under Windows 10.

When I select Android mode, I get this screen telling me that no SDK was found:

Image1

I select "Download SDK automatically" and the next two screens are eventually displayed:

Image2
Image3

Then, when I try to run my sketch in the emulator, I have to download and install the image for my device (it's the save device every time, a Samsung Galaxy Tab S6 Lite), as well as HAXM:

Image4
Image5

Here is the output from the console. (Strangely enough, the very last message says "HAXM: Intel HAXM reinstalled successfully!". So why is it necessary to reinstall, when it seems to recognize the fact that it's already installed?)

build.txt

After doing all this, I can run my sketch (the "Getting started" tutorial, https://android.processing.org/tutorials/getting_started/index.html) in the emulator. I'm still unable to run it on the device from within the IDE (I get a "lost connection" error, even though it's connected and I've allowed access in settings). However, if I copy the APK file to my device and install it, it runs. Is there something I'm doing wrong, or is it really necessary to install Android Studio, even though the tutorial seems to imply it isn't necessary?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions