android


Cannot start new project with Android Studio


I just started using Linux Ubuntu, and downloaded and maybe set up Android Studio.
When I launch it, it does successfully, though it took hours to come here. But it gives me now :
Your Android SDK is missing, out of date, or is missing templates. Please ensure you are using SDK version 22 or later. You can configure your SDK via Configure | Project Defaults | Project Structure | SDKs
I tried to do so and at SDKs I added Android SDK. But when I clicked "ok", the prompt was dismissed but nothing happened, that is, not added.
I tried "Android SDK" two items below SDKs, because Android SDK was empty. But this time, Apply button and OK button doesn't respond. When I look at command line at the moment this error was being displayed.
[ 550663] ERROR - llij.ide.plugins.PluginManager - Android Studio (Preview) 0.4.6 Build #AI-133.1028713
[ 550663] ERROR - llij.ide.plugins.PluginManager - JDK: 1.8.0_05
[ 550663] ERROR - llij.ide.plugins.PluginManager - VM: Java HotSpot(TM) 64-Bit Server VM
[ 550664] ERROR - llij.ide.plugins.PluginManager - Vendor: Oracle Corporation
[ 550670] ERROR - llij.ide.plugins.PluginManager - OS: Linux
It looks like there isn't relavant answer to this. All the questions tend to end with concluding "That's easy. Go Config, project default, project structure, and add Android SDK and Voila! You're good to go." Unfortunately no voila to me, so I here post this.
If anyone has an idea.
I'm using Android Studio 5.7 and jdk 7 in Ubuntu 14.04 without problems.
I'm not expert but i thought you was using an old android studio version and a new jdk version.
I searched:
You are using android studio 0.4.6 based on IntelliJ 13.0
http://tools.android.com/recent/androidstudio050released
And IntelliJ adds support for JDK 8 in 13.1 version
http://blog.jetbrains.com/idea/2014/03/intellij-idea-13-1-released/
So try to upgrade Android Studio to 5.0 (based on 13.1) or better downgrade JDK version to 7 if you dont need it, perhaps not completely supported.
I have fix this ishue on Ubuntu 14.04, Android Studio 0.8 ::
sudo chmod 775 -R {your path}/android-studio/
In my case Studio were placed in /usr/local/android-studio ::
/usr/local/android-studio/android-studio/
I was having a similar issue but on a clean install of Ubuntu 14.04, a fresh download of Android Studio 0.5.7, Oracle Java 8, Gradle 1.12 and the Android ADT Bundle 20140321. Every time I tried to bring up the Project Defaults to set the Android SDK location an exception appeared on the console with the same message you posted.
Before starting I set the various tool HOME environment variables to where those tools were installed, (which could be optional if you're installing all of these through the Ubuntu package manager..)
export GRADLE_HOME=/opt/DEV/gradle
export JAVA_HOME=/opt/DEV/jdk
export ANDROID_HOME=/opt/DEV/adt-bundle-linux-x86_64-20140321/sdk
export PATH=$PATH:$GRADLE_HOME/bin:$JAVA_HOME/bin:$ANDROID_HOME/tools
Then,
From the quick start dialog (presented when you first open Android Studio if you don't have a project already created) disable the Android Plugins found under Configure -> Plugins. Also disable any plugins Android Studio recommends when you disable the Android ones.
Restart Android Studio when prompted.
Add the Java JDK via Configure -> Project Defaults -> Project Structure -> Platform Settings: SDKs
Apply changes, head back into Configure -> Plugins and re-enable the Android Plugins.
Restart Android Studio when prompted.
Set the Android SDK Location and JDK Location under Configure -> Project Defaults -> Project Structure. When I did it, it was pre-filled so I just hit Apply.
Restart Android Studio
The SDK Manager is now a visible button under Configure and you can now create a new Android Project.
Upon creating a new Android Project, Android Studio then went off and download the various dependencies and Gradle 1.10. Annoying that it downloaded Gradle again, but at least Android Studio started to work after that.

Related Links

touch the screen and add a marker in android
Package name not shown in Logcat in ICS
How to click on Android Button then go to google play apps
Programmatically switch tabs in Android using ActionBarSherlock
how to turn an image sideways or upside-down?
Scale Animation of Image
ListView with ArrayAdapter, exception when i click on a row
Android layout, specify dp to scale with screen size
custom holo style progress bar
ListView clickable false not working
Passing data between activities from a listView
Problems with android bluetooth permissions
Unable to uninstall applications from android emulator
how to use a custom view in a xml file in android
How to get Image Path just captured from camera
Get Android rotation angle in x-axis

Categories

HOME
kentico
api
cobalt
gdb
apache-flink
object
powerpoint
battery
pclxl
opendj
big-o
extjs4.2
pattern-matching
fabric.io
minecraft-forge
endeca
mel
php-5.6
plink
scrolltop
android-intent
vuejs
sigma.js
google-maps-autocomplete
poedit
angular-routing
hta
object-storage
highstock
xcode-ui-testing
google-cloud-print
pic32
interbase
bulletphysics
asymptotic-complexity
custom-controls
livelink
getlasterror
magento-1.9.2.4
bc
cin
typesafe-config
plaintext
sharp-snmp
print-css
procfile
builder
compiler-design
lsyncd
rackspace-cloud
cd-burning
ampps
donations
cudd
simplepie
file-uri
jquery-jscrollpane
avspeechsynthesizer
udpclient
refinerycms
embedding
spreadjs
fink
kendo-upload
rasterize
maybe
directdraw
state-restoration
evolus-pencil
batik
zscript
rdflib
jsvc
google-refine
cross-join
mass-assignment
human-computer-interface
mintty
matrix-inverse
extjs2
accesscontrolexception
gtm-oauth2
facebook-timeline
web-notifications
fragmenttransaction
jquery-blockui
subproject
objectquery
multiplexing
floating-point-exceptions
node-redis
clrstoredprocedure
unattended-processing
perl5.12
unmanagedresources
dsoframer
movieplayer

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App