android studio give me error when I install android studio - android

here is error img
hello everyone
I'm doing react native project or when I install android studio it's give me error which one I give above
first time I install then it's same error but I thing some thing miss in sdk installation but now I'm just install and run but it's give me error when I install studio
I don't know where is mistake
I'm try this thing one two it also not working
anyone can give me solution
thank you so much!!

Here's how I "solved" it:
1)Delete your ~/. Android* folders (losing all of your settings :/).
2)Run Android Studio. ...
3)Click the X on the wizard window. ...
4)Go to Settings->Project Defaults->Project Structure and change the Android SDK location to the correct one.

Related

eclipse cause Lint error when save any layout xml files

I think I'd tried everything to fix it but failed.
I've downloaded eclipse from here: http://www.eclipse.org/downloads/packages/eclipse-android-developers-includes-incubating-components/neonr
It's the latest eclipse package made to work with android app developing.
AND
I've downloaded and installed Android Sdk from:
https://dl.google.com/android/installer_r24.4.1-windows.exe
https://dl.google.com/android/android-sdk_r24.4.1-macosx.zip
That's right, both windows and mac versions.
My Android sdk looks like this.
And I created a new android application project, and I just open a pre-made layout xml file and as soon as I save a change I got this.
'Running Android Lint' has encountered a problem.
Failed
Detail:
Failed
java.lang.UnsupportedOperationException
So, here is the big question, how to fix android lint? Or at least point me the right direction, I've tried this on a PC and on a Mac, same problem.
Update: I know android studio and I've used it alot. Let's just say I have my reasons to pick up eclipse and make it work again.
It can be solved by turn off lint error check.
Click Window in Eclipse, select Preferences. Select Android -> Lint Error Checking on the left, and uncheck following checkboxes:
1.Run full error check when exporting app and abort if errors are found 2.When saving file check for error
For ref please check the screenshot I have attached:

There is no selection to install Android Studio

Tried to install Android Studio, I run android-studio-bundle-143.2739321-windows.exe. The "Android Studio Setup" window appeared with 3 selections:
Android Studio(without tick), Android SDK(with tick) and Android Virtual Device(with tick).
That means I cannot install Android Studio?!
Do you know what is wrong?
Thanks a lot for your help!
Install intelliJ instead of android studio cause its faster and if you ever want to do html,css,java etc, you can do that.
https://www.jetbrains.com/idea/

Unable to install AndroidStudio

I have a little problem to start Android Studio. I have this error
"The following SDK components were not installed:
extra-android-m2repository, tools".
I tried to start as Administrator, but it doesn't work. Can anyone help me?
I change the SDK files in
C:\Users\[Username]\AppData\Local\Android\sdk
and i put a recent one, then i restart the app with the admin rights.

Starting Android Learning

Recently i've started android training, and i've got the below 2 issues.
In my desktop i already had eclipse installed, and when trying to import the android plugins, I was getting some error, so what i did was downloaded eclipse+android package from android developers website and I copied it onto my programs files folder where java is installed and when i open it, it is throwing me an error saying the javaw is not found, goinf through the earlier posts on SO website, i've tried the below.
-vm
\adding the java path
But this didn't work for me. so what i did was installed the same package in my laptop(there is no another eclipse on my laptop). and it started working fine.
On my laptop in the eclipse+android package i write a program and when i hit the Android virtual device manager, it asks me to create a AVD, and when i've filled the entire data here, the OK button is still greyed out. Below is the screenshot.
Also i've tried to create by creating from Device definition,even here i'm not getting the ok button hoghlighted and below is its screenshot
please let me know how can i fix the above issues.
Thanks
Firstly you need not wonder for such a mess ..
For IDE purpose .. go to this link .. https://developer.android.com/sdk/installing/studio.html
Android Studio IDE contains all you need .. Just download ..extract and start creating your first Android project.
And now for tutorials to learn .. try these site ..
(1) https://buckysroom.org/videos.php?cat=6 ( Travis ... provide best tutorial in this world )
(2) https://developer.android.com/index.html
Now you are good to go ..
You can see it clearly says: "CPU/ABI: No system images installed for this target"
So either:
Lower your target.
Update your SDK.
Then set a CPU and you can go on in the AVD creation process.
update the sdk, install ARM/intel(x86) for CPU/ABI
Try using Android Studio by IntelliJ ,as it is for more better than eclipse and moreover ADT plugin for Eclipse is no longer in active development.
if you then also get the same error again try this link android Developer and setup java environment.

Unable To Launch Android SDK with Eclipse On Ubuntu 11.1

I am new to using the eclipse IDE but I installed eclipse and the android SDK and wrote a simple hello world program a few weeks ago. So I know that it was working fine.
I have since updated to Ubuntu 11.1 from the previous version on my desktop.
Now when I open eclipse and the hello world android folder and try to compile it doesn't run.
I know that I have to launch the emulator but I don't know how, I have tried by navigating the sdk folder in the /opt/android-sdk-linux_x86/tools and also can't seem to find any references to running the emulator from within eclipse itself.
I know that I am probably missing something straightforward but please help
Thanks in advance
launch the emulator from platform-tools directory.
Do you have any emulators defined? Perhaps they were deleted/lost in the upgrade. Check out Window > Android SDK and AVD Manager.

Categories

Resources