adt

Error trying to use WindowBuilder on Eclipse

半腔热情 提交于 2019-12-25 02:05:37
问题 I have downloaded and installed the files necessarys to use WindowsBuilder on Eclipse. When i try to create a new window as ui for my program, WindowsBuilder doesn´t work and i get this error: java.lang.NullPointerException at org.eclipse.wb.internal.core.editor.multi.SourcePage.updateSourceActions(SourcePage.java:140) at org.eclipse.wb.internal.core.editor.multi.SourcePage.handleActiveState(SourcePage.java:74) at org.eclipse.wb.internal.core.editor.multi.DefaultMultiMode.showPage

ADT Plugin Directory Location for SDK - (MotoDev)

谁说胖子不能爱 提交于 2019-12-24 19:33:21
问题 Right now I am setting up Motodev. Its a Android Development Suite built on Eclipse, created by Motorola. What is needed is the Android SDK. Check, got that, newest version, everything is set with that. Now it says I need the ADT Eclipse plugin. Version 20.0.1, currently mine is v18. I know where to get it, I can easily get it, but I am curious, where should it be installed? Currently I dont have eclipse I am just using MotoDev. But since Motodev asks where the SDK location is, and says my

Build native library in JNI folder?

心不动则不痛 提交于 2019-12-24 15:21:13
问题 I'm testing JNI on Android in Eclipse. I have a simple Android project with one activity. In Eclipse's project explorer, I added: jni/ folder Android.mk in the jni/ folder prng.c in the jni/ folder The source file is named prng.c because it wraps Crypto++'s random number generator. Crypto++ is already cross-compiled for ARMv7, so I have libcryptopp.so standing by. When I select Project → Build Project , the library is not built. I've confirmed its not built after cleaning the project, too.

Eclipse in adt-bundle for android development freezes by auto complete

社会主义新天地 提交于 2019-12-24 12:50:56
问题 To develop android app I downloaded the adt-bundle from the following location: dl.google.com/android/adt/adt-bundle-linux-x86-20131030.zip I downloaded that bundle since I have been using ubuntu 12.04.3lts(32 bit). I have been enjoying the eclipse IDE given with the bundle(for almost 2months) but suddenly I am facing a serious error which literally stopped my development. The problem is eclipse auto complete(or code suggestion) is just freezing the window. But the mouse is ok, it allows to

Android NDK build-host-executable.mk: No such file or directory

心已入冬 提交于 2019-12-24 11:53:22
问题 Short question: I'm trying to build an app that has a JNI dependency, using Eclipse ADT and NDK r10e (the current version). The JNI dependency (apparently) builds a binary to run on the build host, using build-host-executable.mk from the NDK. However, that script seems to have been removed in recent NDK versions. What do I do? Long question: The JNI dependency is platform/external/srec from AOSP, which comes with an Android.mk file (actually, several of them). I have set up Eclipse to build

ADT v23 + SDK 23 - Android “L” - missing Proguard?

∥☆過路亽.° 提交于 2019-12-24 11:29:52
问题 Recently I've updated to the newest Android "L" SDK versions (and the ADT plugin of course). I've updated my app and wanted to export it, and then got this old, known message : invalid proguard configuration file path I remembered I had a similar problem before, and went back to it here. Indeed, I had the missing variable for some reason. However, I still got the same error. Then I went to the ".../tools" folder of the sdk , and didn't find any proguard file/folder. I've tried to re-install

ADT Bundle Fails to Create New Activities

谁说胖子不能爱 提交于 2019-12-24 11:28:05
问题 I am using the ADT bundle (build v22.3) on Mac. I followed the screenshot below to create a new activity: from this guide: http://developer.android.com/training/basics/firstapp/starting-activity.html However, once I press “Finish” no activity is created. There isn't even a sign of the activity in the manifest or R.java files. 回答1: I had the same problem. First wipe(remove) all the things about ADT and Eclipes. Then again start to configure/install ADT bundle and Eclipes step by step. And I

Android XML editors broken in Eclipse

不羁岁月 提交于 2019-12-24 08:48:14
问题 Until today (I have no idea what I did to cause this), if I double-clicked an android XML file, then the correct editor would appear. For example, double-clicking a layout file would open a Graphical Layout tab and a tab with the XML contents for direct editing (named as the file being edited). Now all I get is a Design and a Source tab! I am unable to preview the layouts I am editing (this is the same as here: Graphical Layout tab does not appear for some layout files into Eclipse) That link

Android ADT r12 for MAC

亡梦爱人 提交于 2019-12-24 06:45:03
问题 I am getting an error message regarding a styles.xml on my Eclipse for MAC OS X. Below is the error message: error: Error retrieving parent for item: No resource found that matches the given name 'android:WindowTitleBackground'. I googled this issue and found out that I will require an SDK r11 update to solve this problem. But since the latest SDK is r12, I downloaded using my Eclipse. But I still see this problem. I am new to Android, so I do not really know how to troubleshoot this problem.

Push method implementation using Stack and List ADT

社会主义新天地 提交于 2019-12-24 05:57:43
问题 How would I go about writing an implementation of push for the stack ADT using list ADT? Assuming i'm pushing to the top of stack, would I have to create a temp list and do something to add the previous head to the tail? private someList<E> stack; public void push(E element){ stack.add(element); } //another file public someList<E> add(E newHead){ return new someList<E>(newHead, this); } 回答1: What is important in the implementation of the stack ADT, is where you are going to add the new