adt

Android R.java doesn't generate

最后都变了- 提交于 2019-12-12 11:48:27
问题 I've just updated the Android SDK to version 22.0 (well, more like a fresh install) and started a new project in Eclipse. I went through the project wizard and everything went fine but then I realised that it didn't generate the build files (neither BuildConfig.java nor R.java). I searched a bit and found others with similar problems and someone pointed out that after updating a new package should be available called Android Build Tools. I had installed them as well and BuildConfig.java

Where do I find android.support.v7.mediarouter.R$attr?

隐身守侯 提交于 2019-12-12 10:58:09
问题 Short version I'm getting an unhandled exception when instantiating an android.support.v7.app.MediaRouteButton object. I get: NoClassDefFoundError: android.support.v7.mediarouter.R$attr Where is this class? Or if it's auto-generated, how do I get it to auto-generate? Longer version I am following along with the tutorial for Android app development for chromecast found here: https://developers.google.com/cast/cast_2nd-screen_app_tutorial I am developing using the ADT bundled eclipse, on ubuntu

Installing Eclipse and setting up Android ADT on OS X v10.6 Snow Leopard

蓝咒 提交于 2019-12-12 10:12:51
问题 I am trying to install Eclipse Galileo on my MacBook running OS X v10.6 (Snow Leopard) and set it up with ADT plugin. I downloaded 64-bit cocoa version of "Eclipse Galileo for Java EE developers" and ADT v0.9.6 from the respective offical sites. When I try to add this new plugin-archive in Eclipse, I get the following error: Cannot complete the install because one or more required items could not be found ....missing requirement: ADT requires 'org.eclipse.wst.sse.core 0.0.0' but it could not

Error : WatchActivity cannot be resolved to a type,Why i'm getting this? [duplicate]

血红的双手。 提交于 2019-12-12 09:10:03
问题 This question already has answers here : Update Eclipse with Android development tools v. 23 (43 answers) Closed 5 years ago . Well i have update my Android Sdk to 23 & even Eclips ADT plugin to the latest version. why i'm getting the error in import library of WatchActivity . And i have already fixed this issue "Update eclipse with Android Development tools 23". When i create a new android project with "Blank Activity" my Src & Layout folder is empty. When i create a new android project with

Use new firebase sdk in android eclipse project

邮差的信 提交于 2019-12-12 07:10:34
问题 new firebase with awesome features was just announced, but according to documentation (https://firebase.google.com/docs/android/setup#prerequisites) android studio (as well as gradle) is required now. For now in my cocos2d-x apps I have to use ADT/Eclipse to build apps, because gradle isn't supported yet (however cocos2d-x team is working on it). I'm now using an older version of the sdk, which is just a jar file. Is there a way to use new firebase in eclipse? What worries me the most is that

android:style reference after SDK and ADT plugin update in mid 2011

折月煮酒 提交于 2019-12-12 06:24:16
问题 I see a lot a similar questions R.java can't compile , No resource found that matches @android:style/ "just after SDK & ADT update" leading to existing projects can't compile The R.java file cannot be compiled. I find out the errors come from referencing <style name="Theme.Wallpaper" parent="android:style/Theme.Wallpaper" > <item name="android:colorForeground">#fff</item> </style> What is happening is that some styles, like Theme.Wallpaper are not public. You should not extend from them

why i cannot create android virtual device?

拟墨画扇 提交于 2019-12-12 05:38:20
问题 this issue is a bit similar to Cannot Create Android Virtual Device, the difference is that i am trying to create AVD on windows rather than ubuntu, one more difference is that i can create android 2.2 and 2.3 AVD without error, but failed to create ADV 4.x , why? i have sdk and api installed for 4.x, anyhow . [2012-09-26 13:01:40 - SDK Manager] Warning: Ignoring add-on 'google_apis-10_r02': Unable to find base platform with API level '10' [2012-09-26 13:01:40 - SDK Manager] Warning: Ignoring

Running into warnings and errors using JSpreadsheet

喜夏-厌秋 提交于 2019-12-12 05:28:15
问题 I'm using JSpreadSheet to read an xlsx file from the SDCard and try as I might I cannot get the app to work. I've tried the same code in Java and it work flawlessly, outputting the cells to system.out but it doesn't seem to be working in Android. Please help ! Here's my function: public void readAndDisplay(){ try { Workbook book = new Workbook("/sdcard/new.xlsx"); for (Sheet sheet : book.getSheets()) { if (sheet instanceof Worksheet) { Worksheet worksheet = (Worksheet)sheet; List<Cell> cells

eclipse Failed to load properties file for project

只愿长相守 提交于 2019-12-12 04:57:10
问题 I'v just installed eclipse for developing android applications on my macbook pro(10.9).I'v installed jdk1.7,android sdk and adt plugin for eclipse,however,when i create my first android application , i got the error 'Failed to load properties file for project ...' Error Log: !SESSION 2015-03-10 09:08:33.363 ----------------------------------------------- eclipse.buildId=4.4.2.M20150204-1700 java.version=1.7.0_75 java.vendor=Oracle Corporation BootLoader constants: OS=macosx, ARCH=x86_64, WS

Some breakpoints not hit Eclipse ADT

本小妞迷上赌 提交于 2019-12-12 04:56:58
问题 I have 4 breakpoints but only 2 are getting hit. What I notice is that the breakpoints getting get hit show a small check mark in the breakpoints view. What does this check mark mean and how can I activate my other breakpoints? 回答1: There is some explanation of the various symbols here: What different breakpoint icons mean in Eclipse? I've just tried it myself and it appears that your breakpoints are not disabled, but the little check mark only appears once you're actually executing the