adt

An internal error occurred during: “Launching Project”. java.lang.NullPointerException

試著忘記壹切 提交于 2019-12-01 17:38:41
问题 My android project was compiling well but suddenly it stopped launching. Then I tried to launch other projects from Project Explorer and all project threw same exception: An internal error occurred during: "Launching Project". java.lang.NullPointerException But console always shows everything is normal. Android Launch! adb is running normally. Performing com.mmcolrev.LoginActivity activity launch Here's screenshot of error. 回答1: If anyone face this problem, first keep in mind that error is

Starting emulator for AVD avd PANIC: Could not open: avd - Ubuntu 13.10

不羁岁月 提交于 2019-12-01 17:21:21
I had been using the android sdk for quite some time in my Ubuntu. Recently, I upgraded it to Ubuntu 13.10. From then on, whenever I try to launch an android virtual device, I get this error : Starting emulator for AVD 'Ace2' PANIC: Could not open: Ace2 I tried changing the permissions for the files and folders but still no improvement. Any suggestion? It might be that the AVD was created for a different user, as this blog post suggests. Check your /home/ your-user-name /.android/avd content as well as /root/.android/avd. In my case, the AVDs I created landed up in root, whereas the IDE tried

Reconnect to debug process on Android using Eclipse with ADT

為{幸葍}努か 提交于 2019-12-01 17:13:50
It's possible using eclipse debug perspective to disconnect from a debug process. After this, is it possible to reconnect Eclipse debugger on this process ? Yes, generally. You can disconnect using the "Disconnect" toolbar button in the Debug view (looks a bit like a horizontal red lightning bolt!). To reconnect, change to the "DDMS" perspective, select the process you'd like to (re)connect to in the "Devices" pane and click the green "Debug the selected process..." button at the top of that pane. 来源: https://stackoverflow.com/questions/6583227/reconnect-to-debug-process-on-android-using

又见Android开发环境搭建

眉间皱痕 提交于 2019-12-01 16:56:12
ADT和SDK是需要版本匹配的 ; eclipse版本 ; ADT的安装都是一个在线安装地址 https://dl-ssl.google.com/android/eclipse/ 但是发现是这种在线安装方法不好,麻烦,时间长,所以都去找离线安装包啦,根据关键词,你可以找到ADT 20的zip下载地址: http://dl.­google.­com/­android/­ADT-­20.­0.­3.­zip 对应SDK环境: http://dl.google.com/android/installer_r20.0.3-windows.exe Eclipse IDE for java EE developers, http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/indigor 解压eclipse-jee-juno-win32.zip ,修改eclipse.ini 增加 -vm C:/Java/jdk1.6.0_20/jre/bin/client/jvm.dll -vm C:/Java/jdk1.6.0_20/bin/javaw.exe 离线安装ADT: 发现网上有讲离线安装,但是我没有等到弹出错误窗口,还是在线安装了( 在线安装离线包 ); help ->install new

创建第一个Android程序 HelloWorld

ⅰ亾dé卋堺 提交于 2019-12-01 16:55:58
直接上图: -----------------------------------华丽的分割线----------------------------------------------- 完成之后,如果预览layout.xml文件时提示: This version of the rendering library is more recent than your version of ADT plug-in. Please update ADT plug-in 导致无法正常预览布局文件,问题:SDK版本过高,ADT版本低。 解决办法多种,我用的是更新ADT: Click Help > Install New Software. 在Work with中, 输入: https://dl-ssl.google.com/android/eclipse/ 根据提示完成安装。 如果在更新中,提示下面的信息,直接确定就可以。 you are installing software that contains unsigned content.The authenticity or validity of this software cannot be established. Do you want to continue with the installation? (警告

Eclipse升级到ADT-23.0.2 Fail 解决方法

狂风中的少年 提交于 2019-12-01 16:55:49
工具:eclipse3.7.2 升级ADT:从ADT-22.3.0到ADT-23.0.2 错误信息: Cannot complete the install because of a conflicting dependency. Software being installed: Android Development Tools 23.0.2.1259578 (com.android.ide.eclipse.adt.feature.feature.group 23.0.2.1259578) Software currently installed: Android Development Tools 22.3.0.v201310242005-887826 (com.android.ide.eclipse.adt.feature.group 22.3.0.v201310242005-887826) Only one of the following can be installed at once: ADT XML Overlay 23.0.2.1259578 (overlay.com.android.ide.eclipse.adt.overlay 23.0.2.1259578) ADT XML Overlay 22.3.0.v201310242005-887826

ADT Plugin installation issues Eclipse 3.7 Ubuntu 11.10 [closed]

柔情痞子 提交于 2019-12-01 16:05:16
问题 This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. Closed 7 years ago . I am trying to install Android SDK and ADT Plugiun for Eclipse 3.7 and Ubuntu 11.10. I have downloaded android-sdk_r15-linux.tgz and unpacked it to /home

How to use File Explorer on a rooted device?

余生长醉 提交于 2019-12-01 15:33:20
问题 Eclipse is connected to my rooted phone and I can run debug sessions and see LogCat messages. I can also see the phone in Devices view in the DDMS perspective, but: When I open the File Explorer view (in same perspective) I see nothing . I could swear that I saw it working once but for the life of me I can't recall if there was anything special that I had to pre-configure on the device-under-debug or Eclipse. The Working with an emulator or device's file system on the Android Developer's

what is the procedure for generating R.java in android Eclipse juno

岁酱吖の 提交于 2019-12-01 14:28:10
I have installed eclipse juno and also added the plugin's of the android sdk. After installing android SDK manager, I've created a new android project, but a problem arises in R.java file. R.java doesn't open. Please give me a solution. I am new to android. Make sure you have Android SDK Build-Tools installed from the Android SDK Manager Click this guy: Then make sure the top three are all installed: Click on Project -> Build Project Edit Remove your gen directory and bin directory Click on Project -> Clean (wait till cleaning complete) Click Project -> Build Project Ensure the code, resources

How to know which version of ADT we are using in eclipse?

假装没事ソ 提交于 2019-12-01 13:41:16
问题 Can any one tell, how to know which version of ADT plugin I am using in eclipse? And which version of Android SDK I am using? Please let me know I am new to Android. 回答1: For ADT Version: ( Windows ) Go to Eclipse menu Help >> About Eclipse ( For MAC ) About Eclipse is not under Help menu. Go to Eclipse near Apple symbol on top Left. ( For MAC ) Go to Eclipse >> About Eclipse A window opens and here click on Green Android Robot icon. A next winodw opens in which you can find the version of