adt

Android Eclipse Error executing aapt: return code 139

大城市里の小女人 提交于 2019-12-18 04:34:32
问题 I have an Android application project that suddenly stopped to work. There is apparently no error, but when I try to launch, I get this: Error executing aapt: return code 139 I tried to clean the project and its dependent library project, restarted Eclipse, updated to latest ADT and SDK versions, etc. but all failed. I also have this other error sometimes (without changing anything): Error generating final archive: java.io.FileNotFoundException: .../bin/resources.ap_ does not exist I'm

Blank activity not getting created using New->Android Activity Wizard

混江龙づ霸主 提交于 2019-12-18 04:16:19
问题 I had recently updated my Android SDK from 22.3 to 22.6. After updating, i tried creating a Blank Activity using the wizard. I am unable to create one as i used to create earlier. Also,i am unable to create LoginActivity, or Settings Activity etc. I somehow managed to create the Activity through wizard, i found that instead of extending simple Activity , my class was extending something else. Did anyone else faced such a problem? Please help me out in this. 回答1: I have not suffer this problem

Navigation Drawer rendering error in ADT Layout Editor

孤者浪人 提交于 2019-12-18 03:54:29
问题 <FrameLayout android:id="@+id/content_frame" android:layout_width="match_parent" android:layout_height="match_parent" /> <ListView android:id="@+id/left_drawer" android:layout_width="240dp" android:layout_height="match_parent" android:layout_gravity="start" android:background="#111" android:choiceMode="singleChoice" android:divider="@android:color/transparent" android:dividerHeight="0dp" /> Adding that to the layout xml as per Create a Navigation Drawer documentation produces Exception raised

Navigation Drawer rendering error in ADT Layout Editor

三世轮回 提交于 2019-12-18 03:54:07
问题 <FrameLayout android:id="@+id/content_frame" android:layout_width="match_parent" android:layout_height="match_parent" /> <ListView android:id="@+id/left_drawer" android:layout_width="240dp" android:layout_height="match_parent" android:layout_gravity="start" android:background="#111" android:choiceMode="singleChoice" android:divider="@android:color/transparent" android:dividerHeight="0dp" /> Adding that to the layout xml as per Create a Navigation Drawer documentation produces Exception raised

Could not find adb.exe - after upgrade to Android SDK 2.3

纵饮孤独 提交于 2019-12-17 22:44:13
问题 I have upgraded my Android SDK to version 2.3 and Android Development Tools 8.0.0. Now in Eclipse, I get an error message: Could not find C:\Program Files (x86)\Android\android-sdk-windows\platform-tools\adb.exe! And I don't have that file. How can I fix this? Is it a bug in the Android SDK 2.3 or Android Development Tools 8.0.0? 回答1: I simply did "Help" -> "Check for uppdates" in Eclipse. Then I checked every update possible (I had 2) accepted, waited for the updates to complete, restarted

linux 下 qt配置 GIT

夙愿已清 提交于 2019-12-17 21:29:10
adt@demo:~/qt$ git init 初始化空的 Git 仓库于 /home/adt/qt/.git/ adt@demo:~/qt$ cp config .git/ 来源: CSDN 作者: 没用的阿_吉 链接: https://blog.csdn.net/wml00876/article/details/103586213

unable to refer library project android on updated adt

为君一笑 提交于 2019-12-17 19:47:03
问题 I want to integrate facebook library project to my project ... Steps i followed: 1.Imported facebook library project 2.Checked it as isLibrary 1.Imported facebook sample project 3.Added library project -facebook Pls help to solve the problem depicted in the screenshot... Edit :Problem is in ADT 20.3 .... i tried same steps in ADT 10.3 and it works fine(Just one change here instead of importing the project i created "new project from existing source" ); 回答1: First you need to build your

Java/Eclipse - No more R file ever

删除回忆录丶 提交于 2019-12-17 17:57:08
问题 I'm on Eclipse for hours now and I didn't found a solution yet for my problem even after many searches on internet: I have no more R.java file on my projects. On just created or on my old projects, i don't have R file anymore and I tried so many solutions (uninstall, re-install Eclipse, clean my project, check all my XMLs, fix problem with android tool and so on ...) Please someone can tell me what to do in this case? 回答1: Hey If you just updated to ADT Rev 22 : I had the problem too. There

Android SDK - aapt error : libstdc++.so.6 cannot open shared object file

旧时模样 提交于 2019-12-17 17:39:23
问题 I was creating a new project out of nothing, for testing purpose, leaving all parameter to default (I didn't made any code change), on a new ADT installation (Ubuntu Gnome 14.04 LTS, x86_64 CPU), but I have the following error in the Eclipse Console : [2014-06-11 09:03:10 - Kronos] /home/erwan/Applications/ADT/adt-bundle-linux-x86_64-20140321/sdk/build-tools/19.1.0/aapt: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory Here is

Locations of super() calls in Android Eclipse Plugin generated code reliable?

安稳与你 提交于 2019-12-17 16:16:18
问题 In many of Android methods, especially constructors and overridden methods, you should or even must call the parent class method using super() . When you use the Eclipse Source > Override/Implement Methods... you get code from a template with TODO tags like this: public MyCanvas(Context context, AttributeSet attrs) { super(context, attrs); // TODO Auto-generated constructor stub } @Override protected void onDraw(Canvas canvas) { // TODO Auto-generated method stub super.onDraw(canvas); } I do