upgraded to 1.5 and apps wont run

by Josh » Wed, 29 Apr 2009 12:08:02 GMT


Sponsored Links
 I upgraded to version 1.5 of the sdk and now when i try to run or
debugg apps i get the following error:


[2009-04-28 21:02:58 - Targets] ------------------------------
[2009-04-28 21:02:58 - Targets] Android Launch!
[2009-04-28 21:02:58 - Targets] adb is running normally.
[2009-04-28 21:02:58 - Targets] Could not find Targets.apk!


Im running eclipse 3.4 and i followed the directions listed here
 http://developer.android.com/sdk/1.5_r1/upgrading.html 

any suggestions?
--~--~---------~--~----~------------~-------~--~----~



upgraded to 1.5 and apps wont run

by Xavier Ducrohet » Wed, 29 Apr 2009 13:52:42 GMT


 Do you have a libs folder in your project?

Xav






-- 
Xavier Ducrohet
Android Developer Tools Engineer
Google Inc.

--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


upgraded to 1.5 and apps wont run

by Josh Dobbs » Wed, 29 Apr 2009 22:33:25 GMT


 Yes I do have a libs folder in the project.






--~--~---------~--~----~------------~-------~--~----~



upgraded to 1.5 and apps wont run

by Xavier Ducrohet » Thu, 30 Apr 2009 02:24:16 GMT


 OK, we have identified a problem where files with no extension in this
folder make the build system break.
Even if you don't have files in there, the presence of a .svn folder
in there can cause the issues.

If you use that folder to store jar libraries. I would just move those
jar files to a different folder (the issue is only with the folder
named "libs" and the jar files can be anywhere as long as they are
added to the project build path).

We have fixed the problem and are looking at possibly releasing an
update to ADT soon.

Xav








-- 
Xavier Ducrohet
Android Developer Tools Engineer
Google Inc.

--~--~---------~--~----~------------~-------~--~----~



upgraded to 1.5 and apps wont run

by fdimeglio » Thu, 30 Apr 2009 04:54:34 GMT


 Xavier,

Yes I confirm that if you are using subversion and having a "libs" dir
in which you have:

- your jar libraries
- the .svn dir

then the build just crap out with ADT 0.9: the resulting .apk contains
everything except the signature and if you "zip -T project.apk" you
will see that the apk file is considered as non valid.

This leads too to the EOCD error you see when trying to push the
broken apk file to an emulator or a device.

When can we expect a fix for this issue ?

Fabrice

PS:

btw I have seen other issues with ADT 0.9: the auto generated resource
file is not generated if you AndroidManifest file is containing <uses-
sdk minSdkVersion="2"> instead of  <uses-sdk
android:minSdkVersion="2">
This was working  with SDK1.1 but with SDK1.5 you need to use the
"android:" prefix






--~--~---------~--~----~------------~-------~--~----~



upgraded to 1.5 and apps wont run

by Xavier Ducrohet » Thu, 30 Apr 2009 05:08:36 GMT


 


hopefully sometimes next week. We're adding a few more fixes.


Yeah we've fixed that too. the minSdkVersion attribute must be in the
android namespace (we've fixed the docs for it too)

This has always been the case, it's just that ADT now parses this
value to display a warning in case this conflicts with the build
target. Unfortunately, if the <uses-sdk> node is present but the
attribute isn't, there's a bug which prevent the rest of the build
from happening.

thanks
Xav
-- 
Xavier Ducrohet
Android Developer Tools Engineer
Google Inc.

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Link Selection

How will Android configure the default route when there multiple links
like EV-DO and 802.11 and is there a way that I can find this out in
my application?  I notice that java.net.NetworkInterface lets me
enumerate the IP interfaces.  I can also obtain information about the
link described by android.telephony.DataStateIntentReceiver.  Is that
the network interface that the default route points to?  When the
default route changes, does DataStateIntentReceiver give updates on
the link for the new default route?  Is there an update to indicate
the change of the default route?

Thank you for your help,
     Dave

--~--~---------~--~----~------------~-------~--~----~

2. ViewInflate.inflate is VERY SLOW

Hi,

As title, ViewInflate.inflate() takes about 500ms-1sec to inflat an
XML layout file defining a LinearLayout objects containing two
LinearLayout objects each with about 10 Views objects.

With a ListView of 20 entries, each of the same layout, it will take
10-20 seconds to finish layout the entire ListView.

Is there any faster way to achieve it? For example, faster inflate API
or some API to "clone" the first inflated entry to obtain remaining 19
entries?

Thanks for any feedback.

Nick


--~--~---------~--~----~------------~-------~--~----~

3. When I run my program, emulator runs, but program does not run

4. Android hardware performance

5. Porting FreeTTS on Android

6. Problem making my custom class into a Parcelable

7. How do I get my GPS coordinates are now coming from?