Android Studio 2.2.2 LLDB 2.2 update issue - android

Today I updated my android studio to version V-2.2.2. When I am trying to debug my android application with native code(app-native) I am always getting error message
C++ debugger package is missing or incompatible, do you want to fix it.
After updating to lldb 2.2 also I am getting same issue when I try to debug my native c++ code.
I am using gradle plug in 'com.android.tools.build:gradle-experimental:0.8.2' for building native ndk code. I have even updated ndk-bundle to latest version 13.0.3315539
Is anybody facing similar issue or able to resolve similar issue.
Thanks in advance.

I resolved issue by performing following steps
Go to android-sdk folder on your file System, Locate folder lldb and delete folder lldb. (
For safety purpose you can keep backup or rename folder.
)
2. Now from android studio Tools->Android->SDK Manager->SDK Tools and update lldb option. Click on Apply. It will download LLDB 2.2
3. Now try to debug C++ code and debugging is working fine as expected.
Issue was arising due to some conflict between older downloaded version LLDB 2.1 and newer LLDB version 2.2

I got the same error with Android Studio 2.3 Beta 3. I tried all the solutions I could found but no one works. I used the Quick Fix Option by press Yes below. However, it then report failed to download LLDB 2.3.
I fixed this by selecting "Beta" channel in my Updates settings and then run Quick Fix Again. The channel was changed to Stable somehow. So it always failed to download LLDB 2.3
Hope this helps to people might having the same issue and found here.

Edit configurations... > Debugger > Choose Java as debug Type > Apply

Open SDK Manager and remove LLDB. (from Launch standalone SDK Manager)
Close SDK Manager.
Re-open SDK Manager and go to SDK Tools.
Re-install LLDB

Related

Android Studio 2.3. I got Failed to find Cmake. Install CMake and sync project

My Android Studio versions is 2.3.
I created new project and i checked "include C++" because I want to do NDK but..
I got error that Failed to find Cmake, Install Cmake and sync project.
I click this 10 times
but nothing happened.
I search SDK manager to install cmake but I can't see word "cmake" anywhere
What can I to do?
Open the SDK tools settings while you're connected to the Internet. While opening this setting android studio tries to update or rather refresh available tools...
I had the same problem.
The solution:
File->Settings->Appearance&Behavior->System settings->Android SDK, and then go to the tab "SDK Tools". You can install CMake there and everything else you want.
Check if you are using 64 bit version of Android Studio. In Android Studio 32 bit, cmake will not appear in sdk manager!
So the answer to this is vague. I am going to provide some clarification. First you have to download cmake. Create a file inside your android studio SDK folder called CMake. Install Cmake to this location. then start android studio in administrator mode and all should be solved.
You can use studio64.exe to open the project
change 32 bit OS to 64 bit OS..Then reinstall Android Studio..
Issue solved.

Getting "There were deployment errors, Continue?" error in visual studio 2015 xamarin android emulator

I am very new in xamarin development. Recently I install xamarin with visual studio 2015 in windows 10. I have created a simple project in xamarin android. It build perfectly but when I try to run the project in emulator getting "There were deployment errors, continue?" popup message.
.
I have googled and do not get any proper solution. Please help me to solve the problem.
had the same problem on windows 64 bit
i'm using the latest android sdk build tools at this moment (v25.0.1)
just installed jdk 9 and a 32 bit version of jdk(version 7) due to this link
then changed the jdk path in tools>options>Xamarin>Android settings.
restart visual studio. clean and rebuild. that's it.
You may have wrongly selected "target Android version" to version your emulator is running on.
Make sure that these two are aligning.
VS -> (right click on project) -> properties - > Android Manifest (tab) -> Target Android version (drop down)
In my system, I'm using latest Android SDK build tools at this moment(v26.0.1) and Visual Studio 2017 Version 15.7.4.
In Regedit the Android SDK also same Visual Studio tools>options>Xamarin>Android settings. But the problem was same with me.
In my case, I changed the Package Name in Android Manifest then the problem has been solved.
I had this same problem, which I solved by editing the Android emulator on Android Device Manager giving it a processor of both 32 and 64 bits (x86_64).
After doing this, Android Device Manger downloaded and updated the Emulator configuration. After this I was able to run and debug my app with no problems on Android Emulator.
you should increase free space in drive C and empty temp folder

Xamarin - disconnected from layout renderer

I just downloaded xamarin studio. I get an error message "disconnected from layout renderer please close the file and try again" whenever i open a axml in the layout folder. I can view the source but can't go to the design tab to add controls. Closing the filed does not work.
I'm not sure how to find what version of xamarin.android i'm using but I just downloaded last night. When I go to the SDK manager it tells me my Android SDK Tools are version 23.0.4.
I found this old thread on the same topic. I tried renaming my tools folder and downgrading but that didnt' work either. It told me I need tools of at least version 22.
http://forums.xamarin.com/discussion/14344/disconnected-from-layout-renderer-error-after-updating-android-sdk-tools-to-version-22-6
I've tried uninstalling Xamarin Studio and reinstalling and that didn't help. I do have Visual Studio 2013 with update 3 installed too. But then I also tried installing Xamarin Studio on another laptop with Visual Studio 2012 and got the exact same problem.
Note: this error displays in both Visual Studio and Xamarin Studio.
I really hope I can get this resolved as i'm evaluating Xamarin for 2 companies. Any help is greatly appreciated.
-Randy
The solution is here: http://forums.xamarin.com/discussion/comment/51784/#Comment_51784
Only this time, you need to downgrade from 23.0.4 to 23.0.2.
Just found this out the hard way.
Cheers
Thank you Balint! You made my weekend!!! Here is a direct link to the tools version that works.
http://dl-ssl.google.com/android/repository/tools_r23.2-windows.zip
I recently had this same issue when trying to open the main.xaml in Xamarin Studio for Mac OS X. Here are the steps I took to resolve the problem:
Open the Android SDK Manager in Xamarin Studio and delete the Android SDK Tools.
Re-download the SDK Tools from [https://developer.android.com/sdk/index.html?hl=i]. Revision 23.0.2
Make sure the downloaded SDK is unzipped in the path /Users/username/Library/Developer/Xamarin/android-sdk-macosx
Then I launched the SDK Manager from the Terminal using cd library/developer/xamarin/android-sdk-macosx/tools ./android
When the SDK launches, make sure the Android SDK Tools is not selected, else it will update it to 23.0.5 which appears to currently be broken.
After the SDK Manager updates and installs all the packages, re-open Xamarin Studio and go to Preferences -> SDK Locations -> Android and chose the path for the Android SDK.
After following these steps I was able to successfully open the main.xaml files for Android on OS X.

No Android SDK found - Android Studio

I have a problem with Android 0.4.2 Studio, when creating a new application, it tells me there is a problem with the rendering and shows me the following problem:
Renderering Problems
No Android SDK found. Please configure an Android SDK.
My setup SDK and JDK is this: Android SDK location: C:\adt-bundle-windows\sdk, I put the path I use in Eclipse SDK, or there may be the problem, if someone has happened and what has been fixed, I'd like to give me the solution, thank you very much.
I just encountered and solve a similar problem.
First you should check the directory like other threads described. Then you can check whether the Build tool version matches your SDK version.
(e.g. for my project, in build.gradle file, you have:)
android {
compileSdkVersion 21
buildToolsVersion "21.1.1" }
and then open you SDK manager, make sure you have the same version of sdk(21.1.1) installed in the selected directoriy:
If not, install it and restart Android Studio. It works for me.
I've also seen other guys saying run Android Studio as administrator would also help:
https://teamtreehouse.com/forum/i-am-getting-this-warning-message-rendering-problems-no-android-sdk-found-please-configure-an-android-sdk
I got the same "No Android SDK Found" error message... plus no rendering for Design window, no little cellphone screen.
My SDK path was correct, pointing to where the (downloaded during setup) SDK lives.
During Setup of the SDK Mgr, I didn't download the latest "preview edition (version 20)"...(I thought it better to use the next most recent version (19)) Later I found, there was no dropdown choice in the AVD Manager to pick Version 19, only the default value of the preview, 20.
I thought "Maybe the rendering was based on a version that wasn't present yet." So, I downloaded all the "preview edition's (version 20)" SDK Platform (2) and system images (4)...
Once download/install completed,
RESTARTED Android Studio and Viola! success... error message gone, rendering ok.
From the File menu, choose Project Structure (if you're running 0.4.4 there's a bug and the menu item doesn't have a title, but it still works), and choose the Android SDK item. You should see something like this where you can set up your JDK and SDK.
After setting it, quit Android Studio and relaunch it for good measure.
i have just discovered, android studio 3.0.1 has no sdk during the installation. because during the installation, it doesn't give sdk as part of install able unlike in recent versions of android studio.
Don't worry just change the
build.gradle
ext.kotlin_version = '1.2.41'
to previous version.
It worked for me hope it works for you too.
Happy coding.
According to the Android Studio download page, the SDK comes bundled with Android Studio. It has its own copy when you install Android Studio.
ADT is a plugin for Eclipse. Try reading through that webpage to see if there is something that got missed when installing.
Here is the wording from the site, regarding ADT:
Similar to Eclipse with the ADT Plugin, Android Studio provides integrated Android developer tools for development and debugging.
I wanted to share a part of the issue I had because it is the first google result.
I installed Android Studio, when I tried to install my first SDK from the SDK Management windows I got the error that I didn't have any SDK installed.
I tried to look on the internet to manually download the .zip,manualy create the folder, no luck what so ever.
When I tried to run the Android Studio as an administrator it detected I didn't have any SDK and prompt me right away at startup to download a SDK.
Do following steps
a) Change minSdkVersion and sync gradle
b) Revert back your minSdkVersion and sync gradle again
It will be resolved.
These days, Android Studio setup do not provide SDK as the part of original package.
In the context of windows, when you start Android Studio 1.3.1, you see the error message saying no sdk found. You just have to proceed and provide the path where sdk can be downloaded. And you are done.
Here is the solution just copy your SDK Manager.exe file at the root folder of your android studio's installation, Sync your project and cheers... here is the link for details.
running Android Studio on Windows 7 fails, no Android SDK found
Try make New Project, and then choose same android version that you've installed sdk verions on "Target Android Device" dialog.
In my case, error message gone.
I had the same problem, Android Studio just could not identify the android-sdk folder. All I did was to uninstall and reinstall android studio, and this time it actually identified the folder. Hope it also works out for you.
Download android sdk through this sdk manager https://dl.google.com/android/repository/tools_r25.2.3-macosx.zip
(note this link is for mac)
open android studio, click next, open where it ask to add path where u downloaded sdk..... add it... click next, it will downloaad updates..... and it done
Right now, the last version of Android Studio bundled (Windows IDE bundle with SDK (64-bit)) with Android SDK is version 2.3.3:
https://developer.android.com/studio/archive.html#android-studio-2-3-3
which size is about 2GB.
You can use it and then upgrade to the latest version of Android Studio.
I am on Mac Os. In my case, my host file was black. I added following entries (these entries should be there by default, but they weren't).
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
After re-running android studio, it prompted the sdk download.
I fixed this bug changing the proxy configuration:
No proxy → Auto-detect proxy settings

Android Studio Issue on Mac

I am using new android studio .when i download and install it there was no issue. But now when i try to create a new project it's show this error
Your Android SDK is out of date or is missing templates.
Please ensure you are using SDK version 22 or later.
As you know the latest SDK version is already bundled with android studio .I tried re-installing android studio still that error exist.
But it works fine while importing a project or opening an old project. I am facing this only during while trying to create a new project
Somebody help me to resolve this
Note : Im using Mac 10.6.8
EDIT : Screen Shot
I check my SDK manger which is bundled with android studio It's showing i'm using latest version
I've occurred this problem, what I did is.
On Main Menu, Click, Configure
Click Project Defaults
Click Project Structure
In Platform Settings > SDK, Choose the Build Target. Restart the IDE.
I can't comment (Low reputation) but have you tried checking the android sdk manager? See if anything is outdated or missing in tools
Then follow the answer above me, or check module settings > Dependencies > Module SDK and verify that it's android 4.2.2

Categories

Resources