I have installed java 1.8 and installed Android Studios. After I started a new project (Blank activity), I tried to click on the 'design' tab of the xml file display screen.
However I am hitting this error
I checked my configuration and saw that I already have my java 1.8 setup in the IDE.
Any advise on how I can resolve this issue?
Thanks
Try switching the UI render to an older version of Android
Possible duplicate of Android N requires the IDE to be running with Java 1.8 or later?
Maybe this answer for Mac in that question will help you: https://stackoverflow.com/a/38493792/6714194
Related
I just updated to latest android studio and had invalidated caches and restart but after that my project files are all red and android studio cannot detect java.
Whenever I hover on red line, It shows a configure JDK option.
I had downloaded latest jdk from oracle website and selected that in java path but that also didn't work. I am not able to open settings, SDK manager, neither can I configure SDK.
Below is the error dialog
I tried all the options below but cannot solve the issue
In my case is the CSV Plugin's fault.
After I noticed en error in the right of the status bar said that CSV plugin startup failed, then I disabled this plugin in the Report Issue dialog
Then restart Android Studio will fix the cannot open settings problem
plugin
I think you have not setup JDK.Try to setup JDK and i think it will help you to solve the problem.
Finally after hours of debugging , here is how I solved all the issues.
Cause of the problem : Improper Update
Checked IDE log, which was showing an exception thrown by a plugin. So I uninstalled that plugin.
Deleted old folder of android studio .Android-studio-3.6 present inside C\Users\<Username>\
Most of the errors were gone but android studio was shwowing a warning "Two different JDK locations are selected for building gradle....", so I went to control panel and deleted all old versions of java except for the latest JDK 14.0.1 which I downloaded from Oracle website.
Still it was showing the same error so I downloaded Android Studio 4.0 exe file from their website and re-installed Android studio. While Reinstalling, I did not select Android Virtual device as it was already installed.
I installed neuroph studio 2.92 for windows 64bit but the neuroph project option is not showing when i want to create a new project. All other categories like java, maven are showing. Has anyone encounter similar problem? Any help will be much appreciated.
I was facing the same issue with version 2.9 , currently I am using version 2.8 as a work around
I had the same issue. It can be solved my doing following steps:
Open Neuroph Studio and go to tools/plugins
Then go to installed section and sort the plugins into active/inavtive mode
activate all the inactive plugins and you are done.
I am having an immensely frustrating issue with Eclipse and the ADT after updating all the SDK's, API's and Support Libraries for Android this week.
Ever since updating everything I am unable to properly create an Android Project in Eclipse. It does not generate the MainActivity.java or the main_layout.xml files at all. I have read through most of the other posts regarding this and the fixes they suggest don't seem to work. I have tried looking for the updated software by going to:
Help --> Check for updates (Everything is up-to-date).
I have also tried the manual way by going to:
Help --> Install New Software and inputting https://dl-ssl.google.com/android/eclipse/
It still says I have the latest version of the ADT.
I have also tried reinstalling the ADT plugin as well, but to not avail.
Trying to create an Activity after project creation also does not work.
Versions of software that I am running:
Android SDK Tools 24.0.1
Android API 1.5 up to and including API 5.0.1
Eclipse: Luna Service Release 1(4.4.1)
ADT Plugin Not sure
Thank you for taking the time to read this.
The ADT and SDK Tools must be compatible. The latest ADT version is "ADT 23.0.4". And the corresponding SDK Tools version is 23.0.5. You have updated your SDK Tools version to 24.0.1, but there are no ADT version can support. So you should roolback to the SDK Tool version 23.0.5.
Here is the link:
https://dl-ssl.google.com/android/repository/tools_r23.0.5-windows.zip
Add an Empty Activity, instead of Blank Activity. This will generate MainActivity.java
What is your Java version? You didn't mention about it. Please check it, it should be Java 7 for Android 5.0. If you have Java 7 then check eclipse.ini file. If it refers to Java 6 then change here also to Java 7.
Google fixed this issue and below link may help you.
https://code.google.com/p/android/issues/detail?id=82393
NOTE: I have already fixed this problem. I used the methods described in a previous question/answer discussion. Thank you for whoever tagged this as previously answered!
It an be found here: ADT 22.2 New App Wizard: Unsupported template dependency: Upgrade your Android Eclipse plugin
Today I just downloaded and installed Eclipse via the developer.android.com tutorials. I had almost initiated my first Android Application when I came across this error:
I don't understand the error. It does not specify a required version, and my version is the most up to date version. Neither the [Install/Upgrade] nor the [Check Again] buttons appear to function. I have also tried to delete and reinstall the Android Support Library via the SDK Manager multiple times.
Can any one help me? Thanks in advance!
Note - I do in fact have both the Android Support Library and Android 4.3 installed:
*Edited to add picture and note*
How did you create your project? Steps: New -> Android Application Project? If you've done this, you should check whether you have installed "Android 4.3" and "Extras->Android Support Library" in Android SDK Manager.
Go to the Android SDK Manager, then download the required Android version, in your case, version 18 which is Android 4.3.
Right click on the project -> properties -> Android -> select a platform like 4.0
It sounds like you don't have installed android 4.3 sdk(API level 18).
Please open eclipse->windows->android sdk manager and make sure your android 4.3(API 18) status is installed.
Download from http://dl-ssl.google.com/android/repository/tools_r22-windows.zip, unzip it and replace the /tools folder with this one to downgrade the sdk tools. There's a bug in version 22.
Sorry, but someone found that this is a duplicate. I replaced my sdk/tools/templates/activities folder with a more up-to-date one, which resulted in success. The steps and files can be found here:
(ADT 22.2 New App Wizard: Unsupported template dependency: Upgrade your Android Eclipse plugin)
Thank you for all who took time to try and answer my questions. It is much appreciated!
I am developing an android application which I have complied using API 14 initially, and now I am updating the API version to the latest one. when I debug the code then I am getting the error "Source not found". I am using Eclipse classic and developing on windows 7. I have searched a lot but didn't find a good solution so that I can get rid of from this problem. please help me or guide me how I can download the correct source code using windows 7. I have gone through different links such as android.opensourceror.org
but it is out dated.
You can attach android source code from Android SDK manager. Just check the option for Source for Android SDK option or using this plugin for Eclipse adt-addons