I have everything working in Android Studio and can create and run default app in virtual emulator (though it looks like it is doing nougat as far as I can tell) and on the device (where it looks like a One UI app as far as I can tell).
And I think I successfully created and ran an Android Application in VS yesterday in a virtual device, now that I have run stuff in Android Studio and set up my phone on the USB, when I try to do a Debug|Start in VS, I get this error:
------ Build started: Project: org.me.androidapplication3, Configuration: Debug ------
========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========
Error debugging project: Unknown device ''
Do I have something messed up?
Also, when I right click on the Project file in the Solution Explorer, and then click on the “Edit User Interface Files in Android Studio”, I get an error. When I looked, the path for Android Studio was empty. So I found where the program was and filled that in for the option “Android Studio Path”. I used “C:\Program Files\Android\Android Studio\bin” which is where the “studio64.exe” is.
But when I try to do the edit, I get “Could not start Android Studio. The system cannot find the file specified.” I tried adding the name of the program in the Options too, but it didn’t make a difference.
… time passes …
I tried to make a new android project in Water. I selected the Galaxy S10 Device on the USB, and when I tried to run, Water crashed.
Maybe these problems have to do with the Java version you were mentioning? (though Android Studio ran fine).
… time passes …
I went back into Water and tried to use the Nougat emulator. The emulator booted up, but I get an error message dialog that says it is waiting for the debugger to attach.
… time passes …
Now that the emulator is still running after stopping Water’s debugging session, I tried running the debug again and I think it ran. Probably a timing error with the emulator not being ready for the attach, I’m guessing. So at least water is able to run with the Nougat emulator.
… time passes …
I read another thread where someone ran water on the device and that failed somehow, then ran on the emulator and that worked. Then they ran on the device again, and it worked.
I tried the same in Water. After it successfully ran in Water, and then I tried the device, it worked and did not crash or give any error messages.
… time passes …
I saw on that thread a discussion of “crossbox”, so I went to VS and saw the combobox there. Changed to my device and it ran.
So the only problem left (for me) is that the android studio doesn’t launch when asked.