Starting from the update to Android Studio 2 days ago, it doesn't let me create Java classes anymore. And the current classes now have a strange symbol.
I tried to export and import many times with different configuration but they never worked. Any advice?
Here are two screenshots:
Here is the structure of my Android Studio project. AndroidManifest is in the right place:
In an open Android Studio project, click File > New Module. Click More Modules > Java Library > Next, then fill in whatever you prefer for the names. A new module will appear as a folder on the same level as your "app" folder in the Project Structure. Open it and open the new Java class file.
On May 7, 2019, Kotlin replaced Java as Google's preferred language for Android app development. Java is still supported, as is C++.
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.
Right click on the src folder, Mark Directory As -> Source Root.
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