Android :: Aap Not Found When Building New App In NetBeans
Apr 21, 2010
I just installed NetBeans and the Android SDK following the instructions here. I am running Ubuntu 9.10 (Karmic). NetBeans is 6.7.1. The Android SDK is version 7.W.When I go into that directory, I see that the file does exist and it has proper permissions to be executable by anyone, yet even bash can't find it!
View 3 Replies
Mar 17, 2010
I have been having trouble trying to use the Netbeans Profiler with Android. The android plugin itself (for netbeans from kenai) works fine, though when I try and use the Netbeans profiler with it, it fails to work.When I run the profiler a small message window pops up saying "connecting to the target VM", it stays at that for about 2-3 mins then the window closes and nothing else happens.Is anyone else here using netbeans and having this problem? I would also like to point out that I am using Netbeans and Eclipse with the android plugin as part of my Honors project at Uni, Im doing a comparison you see.
View 2 Replies
View Related
Apr 10, 2010
I would like to start developing for Android platform with NetBeans IDE.I am searching around the web for about a week now looking for working android plugin or a tutorial how to setup netbeans IDE for android development and so far nothing usable turns up.There is a NBAndroid plugin that doesn't work with recent netbeans.I also found very few tutorials describing how to set it up, but none of them produce anything that resembles a usable setup.Can someone please write-up a much needed working tutorial or port the eclipse plugin to netbeans?Maybe Google should be the one raising this issue, not me?We really don't want to switch to Eclipse as this creates a large ripple effect in our development environment that we can't afford.
View 2 Replies
View Related
Feb 24, 2010
I am thinking of making a move to Net Beans but one thing I cant figure out is how to take a snapshot of the screen. I know eclipse has this capability.
View 1 Replies
View Related
Sep 13, 2010
I'm trying to develop on android's platform. I'm working with netbeans and using this tutorial: Introducing Android Development with NetBeans. I seem to have everything installed properly, and have no trouble creating android projects,Does anyone know what might be causing this or how I could fix it?
View 2 Replies
View Related
Sep 24, 2009
I just downloaded the android sdk from the adnroid site and followed this tutorial to set it up on netbeans. Everything to seem to have installed fine but whenever i try to run the application this window pops up:What I am assuming it asking me to choose the emulator, but it is not showing up on the list. Is there a reason why?
View 5 Replies
View Related
Feb 7, 2010
I have installed NetBeans 6.8 on my Mac OS X (Leopard) system and use the Kenai plugin for this platform to create an Android application. The trouble is that I cannot run the Android emulator from NetBeans logged in to the Mac as a normal user. I can run the emulator from the command line and the Eclipse environment when logged in as root. When I try to run NetBeans as root, it displays a message indicating many of components of the Android plugin cannot be loaded because the root user somehow links to Java 1.5 and the plugin needs Java 1.6.There are 3 solutions to this problem as far as I can see.
View 2 Replies
View Related
Mar 3, 2010
I recently downloaded the latest NetBeans IDE (for MACOSX) and imported/migrated a project over from the ECLIPSE environment.Everything looks, and works well... except that EMULATOR gets stuck "waiting for the debugger to attach." I tried "Attaching Debugger." and set the PORT value to every case I've ever read about (8200, 8700, 5555, etc.) but the connection is refused.I am of the opinion that this is not the preferred way to start a debugging session in NetBeans for Android.
View 2 Replies
View Related
Jan 13, 2010
I need to create an Android library which I can include as a jar in any Android application. I use NetBeans 6.8, the nbandroid plugin, and the Android SDK.The steps I took so far are:
1) Create the library project, with android.jar included to have access to Android classes (the library uses android.util.Log and other Android classes).
2) Compile the library as a jar.
3) Add the library's jar to the Android application (right-click on Libraries under the project node and add the jar).
4) Add <uses-library> to the Android manifest. (erroneous and unnecessary)
Step 3 at least allows me to reference the library's classes in the application's source code, but the classes don't seem to actually be included at compile time.Do I have to add the library to the build path somewhere else? Am I missing something?
View 3 Replies
View Related
Jun 25, 2010
I just Installed android 2.2 as a NetBeans 6.8 plugin, it works but I'm missing some tools like the layout ui manager, Ăsthis a ide specific tool or tis available for all of them?
View 1 Replies
View Related
Apr 17, 2010
I'm working on a project with a group that is using Eclipse, but I'm using Netbeans. Up until today this wasn't an issue. When updating from the repo they have added some source code as a library under a directory called /lib-src. When I try to compile the code I get an error that it can't find certain packages... these are the packages under /lib-src.
Using NetBeans I can add the library as a folder so now the references to those packages are happy. However, I'm getting this new error when compiling:
UNEXPECTED TOP-LEVEL ERROR:
CODE:.........
I can include the build-impl.xml file if you need it, but I don't think that is main issue.
View 2 Replies
View Related
Oct 2, 2009
I have a .apk file and How can I run this file in my netbeans ide with Android emulator..
View 2 Replies
View Related
Jun 24, 2010
I'd like to set up Android SDK with Netbeans or Visual Studio 2010. I am coming back to Windows programming after 3 months on Apple iMac (for iPhone programming).Would somebody be able to explain how to set up the NetBeans environment so I can compile and test Android Apps directly form NetBeans.I will be testing on a simulator, not a real device. My platform is Windows 7 Ultimate.It seems I can't use Eclipse even if I wanted to. It can't find the Java VM DLL.
View 2 Replies
View Related
Aug 27, 2010
I recently switched to Ubuntu and decided to use NetBeans for Java development instead of Eclipse which I used on Windows. The problem is, in the Eclipse I used on Windows, I had a folder named "drawable-hdpi" with the standard app icon in and a few other folders like "drawable-mdpi" (I think). But with NetBeans, there doesn't seem to be any folders named "drawable".
View 1 Replies
View Related
May 26, 2010
I am building an Android hello world application in Netbeans. It's building properly and I am able to run in the emulator also. But when creating and running the Junit test I get a java.lang.NoClassDefFoundError.
View 2 Replies
View Related
Nov 4, 2009
i need my app to support 1.5 and above. i noticed that if I create my build.xml file using --
c: oolsandroid2.0r3 oolsandroid update project --name MyProject -- path C:MyProject --target 2
it complains about my resource directory names "res/drawable-hdpi, res/ drawable-ldpi, etc... res/layout-large, etc..." saying "invalid resource directory name".
If I use 1.6r1 tool set c: oolsandroid1.6r1 oolsandroid update project --name MyProject -- path C:MyProject --target 2
Everything works fine.
If I use target 3 (1.6 and above) c: oolsandroid2.0r3 oolsandroid update project --name MyProject -- path C:MyProject --target 3
Everything works fine. So, do I basically *have* to use 1.6r1 to build for 1.5? And does that mean that those special directory names will only work on 1.6 and above?
View 6 Replies
View Related
Dec 1, 2009
I've G1 dev phone. Earlier I upgraded it to 1.5 using HTC website. Now I want to customize (make some changes to ) source code and keep the changes running on G1 phone. I wanna go with cupcake release. Could any body please give me some pointers. If I download cupcake source code from android website and do 'make' for which target it will generate the images ?[Emulator or G1 phone etc.,]
View 3 Replies
View Related
Nov 5, 2009
I was just wondering where there is any information on creating custom user interface libraries for Android. I would like to create a library and include it in an application by specifying something like <uses- library android:name="com.foo.bar" /> in the manifest (just like maps) and have an Activity that can be inherited from like the MapActivity. How can one create and build a library like this?
View 7 Replies
View Related
May 19, 2010
So, I'm new to developing apps (altogether) and I thought that it would be fun to start out on the Android. I did the test with "HelloAndroid" app, but I have no clue on how to run the app on my phone via Eclipse. I remember reading about it a long time ago (sometime in February) but I have no idea where to find it.
View 2 Replies
View Related
Jun 1, 2010
I want to use DTLS (on OpenSSL) using JNI on Android 2.1/2.2. Can someone help me get started (tutorials, howto, pointers etc) with building OpenSSL for Android (2.1/2.2) using the Android NDK?
View 1 Replies
View Related
Aug 31, 2009
When I download the source and build it according to http://source.android.com/download, then try to build the eclipse dev evironment as described on http://source.android.com/using-eclipse, I get 100s of Java Errors when trying to build the project.
Linux is 2.6.28-15-generic #49-Ubuntu Eclipse is eclipse-java-galileo-linux-gtk.tar.gz
18# java -version java version "1.5.0_18" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_18-b02) Java HotSpot(TM) Client VM (build 1.5.0_18-b02, mixed mode, sharing) 19#
View 5 Replies
View Related
Sep 16, 2010
I am trying to build android example app by using phonegap. Here are the the system details.
Operating System : Windows XP
Android Sdk : 1.5 ( Previously i had 2.2 but deleted suspecting problem was with that)
Ruby : 1.9.1-p430
Ant: 1.8.1
Java JDK 5
PhoneGap 0.9.1
System Enviroment Variables
ANDROID_HOME : D:workandroid-sdk_r3-windowsandroid-sdk-windows
ANT_HOME : D:workANTapache-ant-1.8.1
JAVA_HOME : C:SunSDKjdk
CLASSPATH : C:SunSDKjdklib
Path : D:workandroid-sdk_r3-windowsandroid-sdk-windows;C:Ruby191in;D:workANTapache-ant-1.8.1in;D:workandroid-sdk_r3-windowsandroid-sdk-windows ools;
I ran ruby script and get output as below
$ ruby ./droidgap "D:/work/android-sdk_r3-windows/android-sdk-windows" pgtest c
om.example.android.pgtest example/ "D:/work/droid_apps/output1"
Building the JAR...
BUILD FAILED
D:workandroid-sdk_r3-windowsandroid-sdk-windows oolsantant_rules_r3.xml:28
3: null returned: 1
Total time: 1 second
Creating Android project for target level 1
Adding www folder to project...
Generating manifest...
Copying over libraries and assets and creating phonegap.js...
c:/Ruby191/lib/ruby/1.9.1/fileutils.rb:1265:in initialize': No such file or dir
ectory - D:/work/phonegap/phonegap-android/framework/phonegap.jar (Errno::ENOENT)
CODE:......
I even changed ant to ant.bat at one place, android to android.bat at two places in ruby script. I also set target_id = 1 which is for 1.5 sdk.
View 3 Replies
View Related
Apr 23, 2010
When using an Android-generated ant build file, the file references your SDK installation via an sdk.dir property inside the local.properties files which is generated by "android update project -p .".
The comments in build.xml suggest that local.properties should NOT be checked into version control.
BUT, when you run your build from Hudson, it does a fresh checkout of your code from version control, hence local.properties does not exist and subsequently the build fails without sdk.dir being set. So its kind of chicken and egg problem. As a workaround I have checked local.properties into version control for now (nobody else will use it) but I was curious as to how other developers had tackled this problem ?
View 2 Replies
View Related
Feb 4, 2009
Solved this by following the instructions at http://www.mail-archive.com/android-porting@googlegroups.com/msg01340... Also realised - that looks like a more appropriate mailinglist too :)
View 2 Replies
View Related
Oct 17, 2010
I'm tinkering around with trying to build a speedometer using only the accelerometer for use when I go snowboarding. I can read values from the accelerometer but I'm not sure how I would derive the velocity. I was thinking of taking the square root of (X^2 + Y^2 + Z^2) where X, Y, and Z are the values reported by the accelerometer in each axis but that only would only give me the amplitude of acceleration at any given instant. I could multiple that by the sampling frequency to get my instantaneous velocity but this approach fails when I'm moving at a constant speed.
View 2 Replies
View Related
Feb 26, 2010
I want to know if we can create builds using ant's build.xml and when i'm trying to do this an error is displayed SDK location not mentioned and besides that I'm unable to find local.properties file to mention the SDK Location. My aim is that I want to use my exiting code and make a build for new Android SDK's with changes in the resources and and some constant values is this task Possible with making a build using Ant and if by some other way. I have no idea about Ant and its functioning so it would very appreciable if minute details are also provided.
View 2 Replies
View Related
Jul 1, 2010
Suggestions for building a treeview control in Android
View 1 Replies
View Related
Aug 6, 2010
I want to start making cellphone apps with Android as first choice but not the only one. I have 10 years of experience with Java, C#, C++ in commercial applications and I know that many things and practices for this applications are not valid for cellphones. Where do I start reading? How do I adapt my way of thinking to this new environment as quickly as posible? I plan to make some money with it sometime in the future as an extra income or a career change maybe, who know.
View 6 Replies
View Related
Jul 15, 2010
I want to build Alarm Clock application on android .Is there any tutorial available on net??
View 1 Replies
View Related
Sep 10, 2010
I seek instructions for buiulding Android on the HTC Nexus. I have tried looking atthe OpenMoko ones, but could not find any useful guides. I have the Android SDK and Java JDK and this is it. All the guides on the Android site refer to installing Eclipse, which is for build Java apps so not a lot of use. Has anyone got some links? Please note that this is a question about building the kernel and the distribution around it. It is not about building applications for Android).
View 1 Replies
View Related