adt

“parseSdkContent failed Could not initialize class android.graphics.Typeface” in SDK Andorid 5.0

流过昼夜 提交于 2019-12-10 23:41:55
问题 I'm getting the below error after I update the SDK Android 5.0 (API 21) "parseSdkContent failed Could not initialize class android.graphics.Typeface" Another thread suggested to delete .android folder, yes its works, but after sometime this error will trigger again and not able to select any Project Build Target SDK, (its allows to check the target and apply, but again open Properties->android, its showing unchecked) to build the app. I'm using Android SDK Build Tools Rev 19.1 and Eclipse

how to uninstall plugin/egit from ADT eclipse

隐身守侯 提交于 2019-12-10 23:38:46
问题 I found these instructions You should not remove plug-ins from Eclipse. Plug-ins should be installed as features using the Update Manager. The same Update Manager can be used to disable plug-ins by disabling the feature they belong to. Run Help > About Eclipse > Installation Details, select the software you no longer want and click Uninstall. (On Macintosh it is Eclipse > About Eclipse > Installation Details.) In older versions, you might need to Run Help > Software Updates > Manage

吴裕雄--天生自然Android开发学习:1.2.1 使用Eclipse + ADT + SDK开发Android APP

你说的曾经没有我的故事 提交于 2019-12-10 22:02:07
1.前言 这里我们有两条路可以选,直接使用封装好的用于开发Android的ADT Bundle,或者自己进行配置 因为谷歌已经放弃了ADT的更新,官网上也取消的下载链接,这里提供谷歌放弃更新前最新版本的 ADT Bundle供大家下载! 2.直接使用打包好的Eclipse 32位版:adt-bundle-windows-x86-20140702.zip(百度网盘) 64位版:adt-bundle-windows-x86_64-20140702.zip(Google 地址) :https://dl.google.com/android/adt/adt-bundle-windows-x86_64-20140702.zip下载解压,然后直接跳到4.来创建一个Helloworld工程! 3.运行创建好的程序 4.从模拟器上看到运行效果: 接下来我们需要知道的部分: src目录:包含App所需的全部程序代码文件,我们大多数时候都是在这里编写我们的Java代码的 gen目录:只关注R.java文件,它是由ADT自动产生的,里面定义了一个R类,可以看作一个id(资源编号)的字典,包含了用户界面,图形,字符串等资源的id,而我们平时使用资源也是通过R文件来调用的,同时编译器也会看这个资源列表,没有用到的资源不会被编译进去,可以为App节省空间 assets目录:存放资源,而且不会再R

java.lang.NoClassDefFoundError: com.google.android.gms.gcm.GoogleCloudMessaging after ADT update

无人久伴 提交于 2019-12-10 21:04:56
问题 I'm getting this error: 07-16 13:56:12.341: E/AndroidRuntime(23287): java.lang.NoClassDefFoundError: com.google.android.gms.gcm.GoogleCloudMessaging after I updated ADT last week. The code: public GCMRegisterTask(Context acontext) { this.context = acontext; if (gcm == null) { gcm = GoogleCloudMessaging.getInstance(context); } } The project doesn't show any compilation error, but when I try to debug this in my phone(Android 4.2, I've also tried in one table with Android 4.4) this error occurs.

Installing Android ADT plugin v9.0.0 on Eclipse Classic 3.6.1 failed

非 Y 不嫁゛ 提交于 2019-12-10 20:29:20
问题 I've followed instructions on developer.android.com carefully: I've downloaded Eclipse Classic 3.6.1 I've opened Help->Install New Software and added ADT Plugin site But install still fails to match all dependences. I've tried to add additional repositories, but it didn't help. Are there some clues for installing v9.0.0 ADT plugin on Eclipse 3.6.1 Classic properly? I've also tried this Correct install of Android SDK, ADT with Eclipse 3.6.1 - didn't help. 回答1: According to your log message you

What's wrong with my Android virtual device?

吃可爱长大的小学妹 提交于 2019-12-10 19:29:09
问题 I tried to emulate the app on android virtual device emulator. It started booting up and then just stopped. That emulator does not work at all. I tried almost 10 times now. The errors I'm getting are [2014-04-15 13:41:25 - Emulator] NAND: nand_dev_load_disk_state ftruncate failed: Invalid argument [2014-04-15 13:41:25 - Emulator] savevm: unable to load section nand_dev [2014-04-15 13:42:42 - learningandroid] emulator-5554 disconnected! Cancelling 'com.example.learningandroid.MainActivity

Eclipse not recognizing Strings and Classes

喜欢而已 提交于 2019-12-10 15:50:30
问题 I've had a project built by eclipse saved, then my computer sort of died. When I fixed it and reformatted I redownloaded eclipse and such. Actually, when I press on "eclipse.exe" it shows me the eclipse juno icon but the window's name is Java- ADT and and it looks kind of differently. I've installed the ADT Plugin and all the Android APIs but when I import my project, when it opens the classes lets say, it doesn't recognize anything. I mean, Strings, classes, imports, android, nothing. It

To check or not to check “IsLibrary”?

浪尽此生 提交于 2019-12-10 15:38:10
问题 I built my app using a library project (that I also created, to be reused in other apps). It builds fine, but when I try to install & run it through Eclipse (Ctrl+F11), I get this red Could not find MyLib.apk! error line in my console: Console output: [2013-11-30 14:42:59 - MyApp] ------------------------------ [2013-11-30 14:42:59 - MyApp] Android Launch! [2013-11-30 14:42:59 - MyApp] adb is running normally. [2013-11-30 14:42:59 - MyApp] Performing com.sfinja.myapp.ActivitySubClass activity

Unable to find Android SDK location for setting preference Eclipse

有些话、适合烂在心里 提交于 2019-12-10 15:06:07
问题 To start Android Development I installed.. JDK 7 Downloaded and installed Eclipse in E:/ Drive on Windows 7 Then following the steps, installed Android ADT using Eclipse . Everything fine till now but on trying to set preference its not accepting any folder. On looking other suggestions online i founded that there is some setup a C:\Program Files\Android\android-sdk but no such folder in my case. Is my android-sdk in E:/ Drive instead of C:/ I just got a folder (after ADT installation) : E:

Android Console Error: “requires .class compatibility set to 5.0. Please fix project properties”

▼魔方 西西 提交于 2019-12-10 14:49:30
问题 Just did a fresh Install of Eclipse 3.5 and the Android Platform (SDK's and ADT). I've done this a few times on different machines and so I'm pretty sure I've got everything configured properly. Tried importing an Android project and received the following error in the console window: "Android requires .class compatibility set to 5.0. Please fix project properties." I've never seen this error before. The only thing I can think of is that its talking about the build target? I've got the