I was running Droidio (Android Studio) 0.6.1; from there I was not able to update to the newest version (a quantum leap to 0.8); I had to download it separately and install from Windows Explorer. But now the installation process is looking for old settings:
Where it seems to want to take me is here (to the Android folder, I reckon); this is what I see when I mash the "compressed ellipsis" (one dot) button:
...but I'm not sure that is really the right spot; Is it [not]? What is the precise name of the settings file I should be seeking?
I followed Gabriele's directive, and then I got this:
I chose "Use Android Studio's SDK"
And then I got this when trying to rebuild my project, "Error:Execution failed for task ':app:preBuild'. failed to find target android-19 : C:\Users\clay\AppData\Local\Android\android-studio1\sdk"
I then opened the SDK Manager and installed what was missing/out of date, and tried to build again.
I got the error, "Failed to refresh Gradle project 'Platypus' Error: Cause: failed to find target android-19: C:\users\clay\AppData\Local\Android\android-studio1\sdk Install missing platform and sync project
The "Install missing platform and sync project" part of the message is a link. I clicked it, accepted the License Agreement.
Once that finished, the build failed again with a similar message: "...failed to find Build Tools revision 19.1.0 Install Build Tools 19.1.0 and sync project"
Again, the "install..." jazz was a link; I clicked it, accepted, and installed...
The next problem child was, "Error:The project is using an unsupported version of the Android Gradle plug-in (0.11.2) Fix plug-in version and re-import project"
Acquiescing to the counsel of the wise old man in "Never Cry Wolf," I endeavored to persevere by clicking "Fix plug-in version and re-import project"
At which point I finally got a successful build.
I then ran the project, and it seemed to be running (it said so, and the red square was visible), but no emulator ever appeared.
I opened the AVD Manager, and the device had a warning icon (repairable). I clicked the "Repair" button; it seemed to work - the warning icon disappeared.
But then I got this:
It still won't display an emulator when I Run > Debug App...
It used to be (with Droidio 0.5* to 0.61) that the first time I ran, I would see this:
...and the Emulator would eventually come up; subsequent runs of the app, the Device would be listed at the top (under "Choose a Running Device") - no more, though - it is only at the bottom as shown in the scream shot above, even on subsequent runs of the app...
I reckon I should try "re-creating the AVD's weird, malformed config.ini" but don't savvy just what steps to take to accomplish that.
Drag and drop Android Studio into the Applications folder, then launch Android Studio. Select whether you want to import previous Android Studio settings, then click OK.
You can go file > Export settings then you get to choose exactly the settings to export and you get a single settings. jar file. Show activity on this post.
From the Android Studio menu click File > New > Import Project. Alternatively, from the Welcome screen, click Import project (Eclipse ADT, Gradle, etc.).
A copy of the latest OpenJDK comes bundled with Android Studio 2.2 and higher, and this is the JDK version we recommend you use for your Android projects.
UPDATED 28/08/2021
If you are using AndroidStudio Arctic Fox 2020.3 you will find these folders:
c:\user\yourname\AppData\Roaming\Google\AndroidStudioX.Y
/home/yourname/.config/Google/AndroidStudioX.Y
and /home/yourname/.local/share/Google/AndroidStudioX.Y
~/Library/Application Support/Google/AndroidStudioX.Y
If you are using AndroidStudio 4.1/4.2 you will find these folders:
c:\user\yourname\AppData\Roaming\Google\AndroidStudioX.Y
/home/yourname/.config/Google/AndroidStudioX.Y
and /home/yourname/.local/share/Google/AndroidStudioX.Y
~/Library/Application Support/Google/AndroidStudioX.Y
If you are using AndroidStudio 2.1-4.0 you will find these folders:
c:\user\yourname\.AndroidStudioX.Y
/home/yourname/.AndroidStudioX.Y
~/Library/Preferences/.AndroidStudioX.Y
If you are using AndroidStudio 2.0 you will find these folders:
c:\user\yourname\.AndroidStudio2.0
/home/yourname/.AndroidStudio2.0
~/Library/Preferences/.AndroidStudio2.0
If you are using AndroidStudio 1.5 you will find these folders:
c:\user\yourname\.AndroidStudio1.5
/home/yourname/.AndroidStudio1.5
~/Library/Preferences/.AndroidStudio1.5
If you are using .AndroidStudioPreview 1.4 you will find these folders:
c:\user\yourname\.AndroidStudioPreview1.4
/home/yourname/.AndroidStudioPreview1.4
~/Library/Preferences/.AndroidStudioPreview1.4
If you are using AndroidStudio 1.3 you will find these folders:
c:\user\yourname\.AndroidStudio1.3
/home/yourname/.AndroidStudio1.3
~/Library/Preferences/.AndroidStudio1.3
Your setting (with a Preview version):
c:\user\yourname\.AndroidStudioPreview
/home/yourname/.AndroidStudioPreview
~/Library/Preferences/AndroidStudioPreview
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With