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

I am not able to fetch and delete data from Sq-lite
Google Fit API Activity History
Navigating fragments
Using protobuf-net in android
Android shouldShowRequestPermissionRationale has a bug?
Progress Bar while seekbar fills up as well as when switching images
Android, how to get app on foreground
Unable to filter listview in fragment
Do I have to worry about non-power-of-two textures on API 16+?
Adding custom layout to PreferenceFragment
Close image effect on drag up or down fragment
How to pass HashMap<String,List<String>> from intent
Cannot run android aplication - appcompat_v7 not found -
Android game development
Error copying object to Realm
How to keep Staging analytics/data out of Production for App Store deployment

Categories

HOME
httparty
jwplayer
solaris
cq5
limit
polling
crystal-lang
openpyxl
enthought
github-enterprise
spring-social
openbugs
stellar.js
automatic-ref-counting
endpoint
esoteric-languages
database-connection
replication
guzzle
hta
scriptella
interbase
appirater
bringtofront
realm-mobile-platform
playstation-portable
autolisp
simplecv
keras-layer
least-squares
getlasterror
roblox
video-capture
parse-tree
xv6
stringtokenizer
plaintext
uiimage
mesosphere
nanoc
xbmc
clarifai
manova
arq
backbone-collections
dt
oozie-coordinator
mouseleave
cpu-cache
javafx-css
pocketsphinx-android
docpad
builtins
ziparchive
qtplugin
segment-io
google-cloud-console
iotivity
burrows-wheeler-transform
eigenvector
firebase-security
kango-framework
angular-ui-typeahead
data-protection
hadoop-partitioning
invoke-sqlcmd
user-management
assertion
sciruby
computer-architecture
fuelcms
sony-lifelog-api
apache-commons-daemon
dnssec
alloy-ui
ms-access-2000
matlab-deployment
android-broadcast
machine-instruction
ignite-ui
mintty
authlogic
multiautocompletetextview
android-audiorecord
dtmf
ui-select2
pclzip
composite-component
pagedown
wp7test
http-status-code-410
pstack
iboutlet
kqueue
jsr286
htdocs
tournament
cuda.net
localizable.strings
technical-debt
great-circle

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