Sunday, April 10, 2011

Fixing launch action

There is some delay in general progress these days because I'm busy with other projects. But I still plan to create at least basic testing support and make it available soon. If everything goes well I'll be able to create a new update in a week or two. Stay tuned.

In the meantime I did some experiments and worked with nbandroid as a user. The result is couple of bugs discovered and a few ideas what to do next. And example is a fix for launch action that asked for target device even if the build failed. This is integrated now and more small fixes like this one can follow.

5 comments:

  1. Just wondering. Is there a way to sign app you make with nbandroid so it can be uploaded directly to android market like with eclipse?
    Cuz right now I must port my app back to eclipse just to sign it.

    ReplyDelete
  2. Gašper: You dont need Eclipse for that.

    Just edit build.properties (you have to go to the 'Files' tab, its not showing in Important Files).

    I have this:
    key.store=/home/j/android/jacobnordfalk.keystore
    key.alias=jacobnordfalk

    And then from command line you type:
    ant release

    and types in your keystore passwords

    ReplyDelete
  3. I have run into another launch related bug. If I try to debug a project while I have DDMS open, the debugger can never connect and the debugging session never starts (this is expected btw, it also happens with Eclipse since only one client can connect at a time).

    The problem is, if I just force close the app waiting for the debugger on the phone and close DDMS, my app will never launch again through Netbeans/NBAndroid. When I try to run or debug, it goes through the build process, and then nothing happens. I have to restart Netbeans before anything works again. AFAICT this is 100% reproducible, at least in my environment.

    Thanks for all the hard work, the plugin is great!

    ReplyDelete
  4. Hi Guys,

    Trying to load old project in to new installation of netBeans and I get this:

    "Upgrading old nbandroid project <> FAILED"

    What am I doing wrong?

    PS Hej Jacob
    //
    Allan

    ReplyDelete