Re: [android-developers] Third-party JAR files and 'VFY: unable to find class referenced in signature' run-time error

2013-08-07 Thread Xavier Ducrohet
>From the command line, you can build with --info and check the parameters
sent to dex to make sure all the required jars are there.

Your setup does look correct though so I'm not sure what is wrong.


On Sat, Aug 3, 2013 at 10:16 AM, rmz76  wrote:

> A have a new project in Android Studio that's referencing Infragistics
> free iguana ui controls for Android. These are distributed in JAR files.
> All of there samples were built in Eclipse and when I open those samples in
> Android Studio they work fine, but working with a new Android Studio
> project is a bit different than using an Eclipse project. When Gradle is
> involved this isn't working.
>
> The required JAR files have been copied into the \libs folder. The library
> path set in Project Structure settings and I've added the new package files
> to my Gradle config
>
> *dependencies {*
> *compile files('libs/android-support-v4.jar')*
> *compile files('libs/common.jar')*
> *compile files('libs/datachart.jar')*
> *}*
>
> According to what I've read this should be enough, yet when I try to start
> the Activity that's using the third-party controls and I see their
> signature error message in the subject of this post followed by "Could not
> find class 'com.iguanaui.controls.DataChart', referenced from method
> com.bigtrax.pingcompare.LineSeriesActivity.createChart"
>
>
> How can I ensure that the third-party JAR files are being exported to
> device with Android Studio? In Eclipse the solution was to make sure the
> JAR files were int he \libs folder an not the \lib or \library folder, but
> this structure does not apply to Android Studio. The JAR files are in the
> \libs and \libraries folder (under .idea directory) and it's the only place
> they can go. Everything builds without error and deploys. Does anything
> else need to be done with the XML files in the .idea directory or
> settings.gradle to support this, what about the projects .iml?
>
> Thanks!
>
>
>
>
>
>
>
>  --
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Android Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-developers+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Android Studio - Project Tree divergence from core platform tools ( is crazy !)

2013-05-27 Thread Xavier Ducrohet
n/res
>>> ./src/main/res/xml
>>> ./src/main/res/xml/pref_data_**sync.xml
>>> ./src/main/res/xml/pref_**general.xml
>>> ./src/main/res/xml/pref_**headers.xml
>>> ./src/main/res/xml/pref_**notification.xml
>>> ./src/main/res/drawable-mdpi
>>> ./src/main/res/drawable-mdpi/**ic_launcher.png
>>> ./src/main/res/values
>>> ./src/main/res/values/strings_**activity_settings.xml
>>> ./src/main/res/values/strings.**xml
>>> ./src/main/res/values/styles.**xml
>>> ./src/main/res/drawable-xhdpi
>>> ./src/main/res/drawable-xhdpi/**ic_launcher.png
>>> ./src/main/res/values-v11
>>> ./src/main/res/values-v11/**styles.xml
>>> ./src/main/res/drawable-hdpi
>>> ./src/main/res/drawable-hdpi/**ic_launcher.png
>>> ./src/main/AndroidManifest.xml
>>>
>>>  src/main has res etc, but libs is  at a different level (../..) but
>>> stepping back for moment ...
>>>
>>>
>>> Not sure if the  claim in Google I/O about how Android Studio was a step
>>> in the direction of a consistent build & consistency with the sdk  tools,
>>> command line builds etc, is valid, if indeed Android Studio imposes a new
>>> project directory structure inconsistent with the standard project tree
>>> documented at developer.android.com/
>>>
>>> Much as I am not a big fan of eclipse, at least the eclipse ADT created
>>> a project directory tree consistent with the command line core sdk tools
>>> such as the  "android" command and could co-exist with the command line
>>> tools and the ant based  builds/ automated builds and such.
>>>
>>> So why start a whole new structure ... that's inconsistent with the
>>> already defined android sdk documentation on what makes a standard  android
>>> project tree ?
>>>
>>> I respect the IntelliJ/ IDEA from JetBrains and am not a fan of eclipse(
>>> too many fundamental flaws). And gradle is a great tool. And  while
>>> particular  features  in Android Studio are quite impressive, I am not sure
>>> how the  issue of the project tree divergence is to be resolved in the long
>>> run?
>>>
>>> Perhaps I am missing something here ? IMO It  certainly does not make
>>> sense if Android Studio and the  gradle based build are to be interoperable
>>> together while being incompatible with the already well defined and
>>> valuable standard android project tree defined in the Android SDK
>>> documentation from the start. http://developer.**
>>> android.com/tools/projects/**index.html<http://developer.android.com/tools/projects/index.html>
>>>
>>> Thanks
>>> Sanjay
>>>
>>>
>>>
>>>
>>>  --
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Android Developers" group.
>>> To post to this group, send email to android-d...@**googlegroups.com
>>>
>>> To unsubscribe from this group, send email to
>>> android-developers+**unsubscr...@googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/**group/android-developers?hl=en<http://groups.google.com/group/android-developers?hl=en>
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "Android Developers" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to android-developers+**unsubscr...@googlegroups.com.
>>> For more options, visit 
>>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
>>> .
>>>
>>>
>>>
>>
>>  --
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Android Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-developers+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Android Studio bug tracer

2013-05-18 Thread Xavier Ducrohet
Please use this template:
https://code.google.com/p/android/issues/entry?template=Android%20Studio%20bug


On Thu, May 16, 2013 at 10:08 AM, TreKing  wrote:

>
> On Thu, May 16, 2013 at 11:59 AM, Filip Zymek wrote:
>
>> where can you submit bugs for newly released Android Studio?
>
>
> Same place as always: b.android.com.
>
>
> -
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
> transit tracking app for Android-powered devices
>
> --
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Android Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-developers+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] apkbuilder was deleted, how to replace it?

2013-05-18 Thread Xavier Ducrohet
apkbuilder has been deprecated for a very long time. There is no new
command to replace it.

I'll have to see if we can put it back but as we are moving away from Ant
to Gradle, we may not be able to keep this.

Note that the only thing that this does is packaging files together in a
zip file (with .apk extension). You could do it all manually.


On Sat, May 18, 2013 at 12:24 AM, Felipe Monteiro de Carvalho <
felipemonteiro.carva...@gmail.com> wrote:

> Hello,
>
> I wish to build Android applications in Windows while having to install
> the smallest amount of stuff possible. In particular without installing ant.
>
> So I developed my own batch script which builds the APK. It uses the tools
> that come in the SDK and it has worked great for something like the last 2
> years.
>
> Today, sudenly I was setting up a new computer and found out that my
> script no longer work! Because Google removed the vital apkbuilder script =(
>
> This line in my script stopped working:
>
> call apkbuilder %APK_PROJECT_PATH%\bin\%APP_NAME%-unsigned.apk -v -u -z
> %APK_PROJECT_PATH%\bin\%APP_NAME%.ap_ -f %APK_PROJECT_PATH%\bin\classes.dex
>
> Does anyone know what is the new command that I should use that is the new
> way to do things according to Google?
>
> I tryed to Google but only found that the new way is some Java class ...
> but I am running a batch script here, so I have no idea how I would call a
> java class from my script.
>
> Any ideas how to make my script start working again?
>
> Not using ant is a must-have requirement for my script, so please no
> solutions which involve using ant.
>
> thanks in advance,
>
> Felipe Monteiro de Carvalho
>
> --
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Android Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-developers+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Android Studio for IntelliJ - Plugin

2013-05-17 Thread Xavier Ducrohet
The new Android support require IntelliJ 13 and will be part of IntelliJ
Community and Ultimate editions (it should already be part of the EAP for
13)


On Thu, May 16, 2013 at 2:01 AM, Andrew Weir  wrote:

> Morning,
>
> Does anybody know (or is it reasonable to expect) Android Studio to be
> available as a plugin for existing license holders of IntelliJ 12?
>
> --
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Android Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-developers+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] gradle build with custom views

2013-04-27 Thread Xavier Ducrohet
Can you explain how they are different?

Also when you build with Gradle, we merge the resources manually from
different sources (libraries, main project res folder(s), build
types/flavors overlays, ...) before passing the result to aapt. The result
of the merge is in build/resources/...

Can you go look in there and see if your layout is wrong in there? We
normally don't touch layout files since the content doesn't have to be
merged (we only select which file to copy based on overlays), and only
merge the content of the values files, so this shouldn't happen, but I'm
curious.

thanks
Xav


On Wed, Apr 24, 2013 at 7:40 AM, Daniel Rindt wrote:

> 2013/4/24 Tor Norbye :
> > How are the two layout files different?
>
> I opened the apk and extracted the binary xml's and they are different.
>
> --
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Android Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-developers+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>


-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Re: gradle and libs

2013-02-21 Thread Xavier Ducrohet
Unlike the previous build system, the jars can be anywhere, as long as
they are added to the "compile" dependency which you do seem to do
here. They really don't have to be in libs/

You apply the android-library plugin but you seem to be building an
application. Not sure how that can be working and outputting an APK?

Is your code referencing com.omniture.AppMeasurement? If it is (and
compiles) then it should work.
You can always check the resolved dependencies by running "gradle
dependencies". If your jar doesn't show up then there's something
weird.

You can also run gradle with --info to see what is passed to dex to
make sure this jar file is passed as input. If not there's something
weird.

On Wed, Feb 20, 2013 at 2:19 AM, Daniel Rindt  wrote:
> You already have
>>
>>
>> dependencies {
>> compile fileTree(dir: 'libs', include: '*.jar')
>> }
>>
>> you have to put all *.jar file inside the libs directory. If any *.jar
>> file outside of the libs folder wouldn't be compiled.
>
>
> The documentation says that compile is only using the classes on compile
> time. And thats here the case, when i start up the resulting apk it crashes
> because the classes are not in.
> When i switch from compile to runtime and gradle tells me then that
> AndroidManifest.xml is not present. But it is.
>
> --
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Android Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-developers+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] android:accessibilityFocusable attribute in a layout-xml produces an error

2012-08-01 Thread Xavier Ducrohet
This is an internal attribute that you can't use. Unfortunately ADT
doesn't properly ignore those when it reads the framework attributes
and offers it to you.

I don't know of any other options for you. Sorry.

On Tue, Jul 31, 2012 at 7:59 AM, Streets Of Boston
 wrote:
> Hi,
>
> I have a text-view next to a seekbar. The seekbar is accessible and
> announces its current value. The text-view also shows this value.
> For accessibility, I'd like to make the text-view not
> accessibility-focusable, since the seekbar already is (no use in stating the
> same thing twice).
>
> However, when adding android:accessibilityFocusable="no" to the layout xml,
> I get this error:
> No resource identifier found for attribute 'accessibilityFocusable' in
> package 'android' page_slider_layout.xml /KnfbBlio/res/layout line 37
> Android AAPT Problem
>
> The project build target is 4.1 (api level 16).
> The targetSdk in the AndroidManifest.xml is set to 16 as well.
>
> Any idea what the problem could be?
>
> Thanks!
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Missing classes when running in emulator (new to R17)

2012-03-28 Thread Xavier Ducrohet
Please read this:
http://tools.android.com/recent/dealingwithdependenciesinandroidprojects

(I just updated it with some extra info and a screenshot)

On Wed, Mar 28, 2012 at 8:16 AM, RedBullet  wrote:
> So, I just updated SDK to R17, and updated my ADT to match.
>
> I just noticed that it doesn't appear to be including my third party
> libraries any more. I have the commons net 1.4.1 jar in my project,
> everything compiles like a champ, but when it runs I get a runtime error
> saying it cannot find a class in that JAR.
>
> Any ideas??
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Applications no longer working after SDK17 upgrade

2012-03-23 Thread Xavier Ducrohet
If you copy it in the libs folder of the library project this should be
enough to have it available to all app projects.

On Fri, Mar 23, 2012 at 2:05 PM, adev  wrote:

> After further investigtation, this is the error I am getting.
>
> android.view.InflateException: Binary XML file line #125: Error
> inflating class com.google.ads.AdView
>
> I had to copy the jar file into /libs on my project.
>
> I actually have 3 apps with a lib of shared code.
> I had to copy the jar into /libs on all three apps, just putting it in
> the lib was not sufficient.
>
> Is there a way around this?
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Android 4.0 Emma Code Coverage

2011-11-01 Thread Xavier Ducrohet
we changed the ant target names. Look at
http://developer.android.com/guide/developing/building/building-cmdline.html#AntReference

On Tue, Nov 1, 2011 at 3:48 AM, Tony Lee  wrote:
> I used the emma to generate the code coverage on the android phone.
>
> Everything goes well when I used the android sdk 3.0 and before.
> However, after I update the sdk to 4.0, the report can't be  generated
> by running "ant coverage". I have update the build.xml before I run
> the command!
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Preview of ADT with library project fixes

2011-10-28 Thread Xavier Ducrohet
Haven't fixed the layout editor issues yet. Working on it. we'll push
a fix as soon as we have it.

On Fri, Oct 28, 2011 at 4:44 PM, Michael A.  wrote:
> I still can't export my Android projects on Windows 7 using the Eclipse
> export tool (with Linux, for some reason, it works).
>
> http://code.google.com/p/android/issues/detail?id=21170
>
> Also still seeing the problem with included layouts not working in the
> layout editor.
>
> http://code.google.com/p/android/issues/detail?id=21051&colspec=ID%20Type%20Status%20Owner%20Summary%20Stars&start=100
>
> Regards,
>
> Michael A.
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Preview of ADT with library project fixes

2011-10-28 Thread Xavier Ducrohet
hey all,

We've just pushed a preview of an update to ADT that should fix
building library projects.
It is a manual download as we are looking for feedback before we
publish it to the public repository.
You can see more details and download it here: http://tools.android.com/download

thanks
Xav
-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] SDK and ADT r15

2011-10-27 Thread Xavier Ducrohet
Hey all,

we've just release SDK Tools r15 and a matching ADT 15.0

This is a bug fix only release. See notes at
http://developer.android.com/sdk/tools-notes.html
and
http://developer.android.com/sdk/eclipse-adt.html

Make sure to get the new platform-tools as well.

Xav
-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Role of the Compatibility Library?

2011-10-24 Thread Xavier Ducrohet
It's now called the support library in the SDK manager (at least after
you upgrade to rev4)

On Mon, Oct 24, 2011 at 4:05 PM, ashughes  wrote:
> Thanks Dianne for the explanation. I forgot that that was the reason
> ActionBarSherlock is a library project and not a jar (the resource
> problem).
>
> FYI, it's still called the "Android Compatibility package" in the
> Android SDK Manager. I understand your reasoning for it being called
> the "support library" however.
>
> On Oct 24, 2:32 pm, Dianne Hackborn  wrote:
>> On Mon, Oct 24, 2011 at 1:40 PM, ashughes  wrote:
>> > There is now an ActionBarCompat sample code demo (
>> >http://developer.android.com/resources/samples/ActionBarCompat/index).
>> > Is there a reason the ActionBar not been added to the ACL? Are there any
>> > plans to add it to the ACL?
>>
>> No, nothing like this will appear in the support library any time soon.  An
>> ActionBar implementation requires significant resources to go with it
>> (drawables, layouts, attributes, etc), and at this point it is not feasible
>> to package that kind of stuff up into a jar.
>>
>> Even if we make it possible to have resources in a har -- and that is
>> something that may happen in the not so long term -- you wouldn't want to do
>> this with the support lib unless you also had a tool to strip all of that
>> stuff out for apps that aren't using it...  and *that* is a big enough
>> amount of work that it probably isn't worth doing any time soon.
>>
>> Oh and btw, as far as I am concerned it is totally wrong to call this the
>> "compatibility library."  The library is called the "support library,"
>> because that is what it actually use -- various useful support classes.
>>  There is a fair amount there that helps with using newer platform APIs
>> while still being able to run on older platform versions, but there is a lot
>> of other stuff there as well.  In particular, ViewPager.
>>
>> --
>> Dianne Hackborn
>> Android framework engineer
>> hack...@android.com
>>
>> Note: please don't send private questions to me, as I don't have time to
>> provide private support, and so won't reply to such e-mails.  All such
>> questions should be posted on public forums, where I and others can see and
>> answer them.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Unable to resolve target 'android-9'

2011-10-21 Thread Xavier Ducrohet
API 9, the original Gingerbread version is considered obsolete. I
would target API 10 instead.

If you really want api 9, you'll need to download it by showing
"obsolete" packages in the SDK Manager.

On Fri, Oct 21, 2011 at 6:32 PM, bob  wrote:
> I have MOTODEV Studio, and I downloaded all available packages from
> the Android repository.
>
> However, I still get this error:
>
> Unable to resolve target 'android-9'
>
> Any ideas why this is happening?
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: VpnService problem

2011-10-21 Thread Xavier Ducrohet
Yes the VPN team forgot to put a component in the emulator system
image. we'll update it.

On Thu, Oct 20, 2011 at 9:57 AM, kornhornio  wrote:
> I ran into exactly the same problem.  I suspect there's a piece missing from
> the SDK or from the emulator, but I'm not really sure how to verify that.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Android repository missing platform packages? Help!

2011-10-21 Thread Xavier Ducrohet
Did you look at http://tools.android.com/knownissues ? We have
information on either fixing a bad migrations or workaround actual
bugs.

If you really want to use an older version:
- Make a copy of tools r12/13 and of the platform-tools r7
- Upgrade one copy to r14
- download all the targets.
- copy the targets (content of platforms/) into the sdk with the r12 version.

On Fri, Oct 21, 2011 at 2:41 PM, Ben H  wrote:
> Hmm so does that mean that anything prior to r14 is unsupported? That
> would be extremely disappointing. I can't use r14 right now because of
> the build bug. None of the available fixes work for me. I'm completely
> dead in the water here.
>
> On Oct 21, 2:25 pm, Mark Murphy  wrote:
>> You need the r14 tools AFAIK.
>>
>>
>>
>>
>>
>> On Fri, Oct 21, 2011 at 5:19 PM, Ben H  wrote:
>> > i recently reinstalled the android sdk because of this infuriating
>> > build bug in r14. when i open the android sdk manager, i do not see
>> > any platform packages available. i installed r12 of the sdk tools, and
>> > i see the r14 package available, but nothing else. where's all the
>> > platform packages, docs, etc.? see this screenshot of the sdk manager:
>>
>> >http://i.imgur.com/uyBAE.png
>>
>> > if you look at the android repository.xml, it also only has the
>> > platform tools packages.
>>
>> >http://dl.google.com/android/repository/repository.xml
>>
>> > shouldn't it have everything, not just the tools packages? is there
>> > another url that i need to add for the platform packages? thanks.
>>
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups "Android Developers" group.
>> > To post to this group, send email to android-developers@googlegroups.com
>> > To unsubscribe from this group, send email to
>> > android-developers+unsubscr...@googlegroups.com
>> > For more options, visit this group at
>> >http://groups.google.com/group/android-developers?hl=en
>>
>> --
>> Mark Murphy (a Commons 
>> Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>>
>> _Android Programming Tutorials_ Version 4.0 Available!
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Tracking issues in r14

2011-10-21 Thread Xavier Ducrohet
Hi all,

There is a number of known issues in r14 that have workarounds. We are
tracking them at http://tools.android.com/knownissues

I highly recommend you hit this link if you have problems. We are
working on fixes.

Xav
-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] ADT r14 - Conversion to Dalvik format failed with error 1

2011-10-21 Thread Xavier Ducrohet
R14 use a different repository file due to a schema change.

On Fri, Oct 21, 2011 at 2:24 PM, Ben H  wrote:
> thanks, xavier, but i tried that and it didn't work for me.
>
> i'm trying to reinstall the entire sdk because of this problem, but am now
> encountering problems downloading the platform packages. they seem to be
> missing from the android repository. shouldn't there be more listed here
> than just the sdk tools?
> http://dl.google.com/android/repository/repository.xml
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] ADT r14 - Conversion to Dalvik format failed with error 1

2011-10-21 Thread Xavier Ducrohet
Forgot to add the link to the migration, but looking at it I can't find it :\

Will put official information up soon.

On Fri, Oct 21, 2011 at 2:08 PM, Xavier Ducrohet  wrote:
> hey,
>
> we have a migration note at the end of but obviously we should have
> put this more forward.
>
> A great explanation of the issue and how to fix it is here:
> http://android.foxykeep.com/dev/fix-the-conversion-to-dalvik-format-failed-with-error-1-with-adt-14
>
>
> On Fri, Oct 21, 2011 at 12:00 PM, Ben H  wrote:
>> since updating ADT to r14, i've been plagued by the bug described here
>>
>> http://code.google.com/p/android/issues/detail?id=20398
>>
>> and here
>>
>> http://stackoverflow.com/questions/7823312/problems-building-with-adt-r14
>>
>> i was surprised that i couldn't find a thread about this bug in this
>> group. i'm hoping someone here has some insight. i've tried all the
>> solutions offered so far, and none of them work for me.
>>
>> my comment from the bug report: i'm having this problem too. my app
>> only references one library - my LVL library. i have tried removing
>> the reference, cleaning .classpath, and .project, and removing
>> references to source folders. i've cleaned the project, opened and
>> closed it, and waved a dead chicken over my keyboard. nothing has
>> worked. please help!
>>
>> my console output with stack trace:
>>
>> [2011-10-20 23:32:04 - MyApp] Dx UNEXPECTED TOP-LEVEL
>> EXCEPTION:java.lang.IllegalArgumentException: already added: Lcom/
>> android/vending/licensing/AESObfuscator;
>> [2011-10-20 23:32:04 - MyApp] Dx        at
>> com.android.dx.dex.file.ClassDefsSection.add(ClassDefsSection.java:
>> 123)
>> [2011-10-20 23:32:04 - MyApp] Dx        at
>> com.android.dx.dex.file.DexFile.add(DexFile.java:163)
>> [2011-10-20 23:32:04 - MyApp] Dx        at
>> com.android.dx.command.dexer.Main.processClass(Main.java:486)
>> [2011-10-20 23:32:04 - MyApp] Dx        at
>> com.android.dx.command.dexer.Main.processFileBytes(Main.java:455)
>> [2011-10-20 23:32:04 - MyApp] Dx        at
>> com.android.dx.command.dexer.Main.access$400(Main.java:67)
>> [2011-10-20 23:32:04 - MyApp] Dx        at com.android.dx.command.dexer.Main
>> $1.processFileBytes(Main.java:394)
>> [2011-10-20 23:32:04 - MyApp] Dx        at
>> com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:
>> 245)
>> [2011-10-20 23:32:04 - MyApp] Dx        at
>> com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:
>> 131)
>> [2011-10-20 23:32:04 - MyApp] Dx        at
>> com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:
>> 109)
>> [2011-10-20 23:32:04 - MyApp] Dx        at
>> com.android.dx.command.dexer.Main.processOne(Main.java:418)
>> [2011-10-20 23:32:04 - MyApp] Dx        at
>> com.android.dx.command.dexer.Main.processAllFiles(Main.java:329)
>> [2011-10-20 23:32:04 - MyApp] Dx        at
>> com.android.dx.command.dexer.Main.run(Main.java:206)
>> [2011-10-20 23:32:04 - MyApp] Dx        at
>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> [2011-10-20 23:32:04 - MyApp] Dx        at
>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>> [2011-10-20 23:32:04 - MyApp] Dx        at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>> [2011-10-20 23:32:04 - MyApp] Dx        at
>> java.lang.reflect.Method.invoke(Unknown Source)
>> [2011-10-20 23:32:04 - MyApp] Dx        at
>> com.android.ide.eclipse.adt.internal.build.DexWrapper.run(DexWrapper.java:
>> 179)
>> [2011-10-20 23:32:04 - MyApp] Dx        at
>> com.android.ide.eclipse.adt.internal.build.BuildHelper.executeDx(BuildHelper.java:
>> 729)
>> [2011-10-20 23:32:04 - MyApp] Dx        at
>> com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder.build(PostCompilerBuilder.java:
>> 602)
>> [2011-10-20 23:32:04 - MyApp] Dx        at
>> org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:
>> 629)
>> [2011-10-20 23:32:04 - MyApp] Dx        at
>> org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
>> [2011-10-20 23:32:04 - MyApp] Dx        at
>> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
>> 172)
>> [2011-10-20 23:32:04 - MyApp] Dx        at
>> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
>> 282)
>> [2011-10-20 23:32:04 - MyApp] Dx        at
>> org.eclipse.core.internal.events.BuildManager.buil

Re: [android-developers] ADT r14 - Conversion to Dalvik format failed with error 1

2011-10-21 Thread Xavier Ducrohet
4 - MyApp] Dx        at
> com.android.ide.eclipse.adt.internal.project.ProjectHelper.build(ProjectHelper.java:
> 869)
> [2011-10-20 23:32:04 - MyApp] Dx        at
> com.android.ide.eclipse.adt.internal.project.ExportHelper.exportReleaseApk(ExportHelper.java:
> 84)
> [2011-10-20 23:32:04 - MyApp] Dx        at
> com.android.ide.eclipse.adt.internal.wizards.export.ExportWizard.doExport(ExportWizard.java:
> 290)
> [2011-10-20 23:32:04 - MyApp] Dx        at
> com.android.ide.eclipse.adt.internal.wizards.export.ExportWizard.access
> $0(ExportWizard.java:229)
> [2011-10-20 23:32:04 - MyApp] Dx        at
> com.android.ide.eclipse.adt.internal.wizards.export.ExportWizard
> $1.run(ExportWizard.java:214)
> [2011-10-20 23:32:04 - MyApp] Dx        at
> org.eclipse.jface.operation.ModalContext
> $ModalContextThread.run(ModalContext.java:121)
> [2011-10-20 23:32:04 - MyApp] Dx 1 error; aborting
> [2011-10-20 23:32:04 - MyApp] Conversion to Dalvik format failed with
> error 1
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Ice cream sandwich gpu emulation issue

2011-10-21 Thread Xavier Ducrohet
the emulator can (sort of) do emulation but you need a system image
that supports it. We haven't released any yet.

If it was ready we would have announced it.

Xav

On Thu, Oct 20, 2011 at 6:00 AM, sebastian_bugiu
 wrote:
> Then why did they add gpu emulation option in the emulator editor?? It
> wasn't there before
>
> On Oct 20, 6:26 am, Xavier Ducrohet  wrote:
>> Gpu emulation is not supported yet.
>> On Oct 19, 2011 3:33 PM, "sebastian_bugiu" <
>>
>>
>>
>>
>>
>>
>>
>> sebastian.bugiu.reloa...@gmail.com> wrote:
>> > If I have gpu emulation off everything works fine, if I turn emulation
>> > on then I get something like this in logcat
>>
>> > I/DEBUG   (   32): Build fingerprint: 'generic/google_sdk/generic:
>> > 4.0.1/ICS_MR0/202595:eng/test-keys'
>> > I/DEBUG   (   32): pid: 193, tid: 194  >>> /system/bin/surfaceflinger
>> > <<<
>> > I/DEBUG   (   32): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault
>> > addr 002b
>> > I/DEBUG   (   32):  r0   r1 0ff0  r2 0002  r3 002b
>> > I/DEBUG   (   32):  r4 00010400  r5 00010320  r6 00010320  r7 fde0
>> > I/DEBUG   (   32):  r8 0001  r9 000103e8  10   fp 0001
>> > I/DEBUG   (   32):  ip 40123ee4  sp 100ffd00  lr 40ff9c93  pc
>> > 40ff9c96  cpsr 6030
>> > I/DEBUG   (   32):  d0  4290  d1  00a04320
>> > I/DEBUG   (   32):  d2  00a03f80  d3  
>> > I/DEBUG   (   32):  d4    d5  41ab2c459600
>> > I/DEBUG   (   32):  d6  3f80d2f1a9fc  d7  3f804320
>> > I/DEBUG   (   32):  d8    d9  
>> > I/DEBUG   (   32):  d10   d11 
>> > I/DEBUG   (   32):  d12   d13 
>> > I/DEBUG   (   32):  d14   d15 
>> > I/DEBUG   (   32):  scr 0010
>> > I/DEBUG   (   32):
>> > I/DEBUG   (   32):          #00  pc dc96  /system/lib/egl/
>> > libGLES_android.so (eglMakeCurrent)
>> > I/DEBUG   (   32):          #01  pc b40c  /system/lib/libEGL.so
>> > (eglMakeCurrent)
>> > I/DEBUG   (   32):          #02  pc 0001820a  /system/lib/
>> > libsurfaceflinger.so (_ZN7android15DisplayHardware4initEj)
>> > I/DEBUG   (   32):          #03  pc 000185aa  /system/lib/
>> > libsurfaceflinger.so
>> > (_ZN7android15DisplayHardwareC1ERKNS_2spINS_14SurfaceFlingerEEEj)
>> > I/DEBUG   (   32):          #04  pc 0001dcbc  /system/lib/
>> > libsurfaceflinger.so (_ZN7android14SurfaceFlinger10readyToRunEv)
>> > I/DEBUG   (   32):          #05  pc 00020c6a  /system/lib/libutils.so
>> > (_ZN7android6Thread11_threadLoopEPv)
>> > I/DEBUG   (   32):          #06  pc 000212d0  /system/lib/libutils.so
>> > I/DEBUG   (   32):          #07  pc 00012e08  /system/lib/libc.so
>> > (__thread_entry)
>> > I/DEBUG   (   32):          #08  pc 00012958  /system/lib/libc.so
>> > (pthread_create)
>> > I/DEBUG   (   32):
>> > I/DEBUG   (   32): code around pc:
>> > I/DEBUG   (   32): 40ff9c74 69076808 f8d4b1fc f8d9948c 03d02000
>> > I/DEBUG   (   32): 40ff9c84 42a7d502 e008d1ec f7ffb13f f8d7faed
>> > I/DEBUG   (   32): 40ff9c94 6819348c 3080f421 f8d96018 03d12000
>> > I/DEBUG   (   32): 40ff9ca4 4a3ad470 610c6811 3000f8d9 3080f443
>> > I/DEBUG   (   32): 40ff9cb4 f8c9 b13fe066 fad6f7ff 348cf8d7
>> > I/DEBUG   (   32):
>> > I/DEBUG   (   32): code around lr:
>> > I/DEBUG   (   32): 40ff9c70 49470a00 69076808 f8d4b1fc f8d9948c
>> > I/DEBUG   (   32): 40ff9c80 03d02000 42a7d502 e008d1ec f7ffb13f
>> > I/DEBUG   (   32): 40ff9c90 f8d7faed 6819348c 3080f421 f8d96018
>> > I/DEBUG   (   32): 40ff9ca0 03d12000 4a3ad470 610c6811 3000f8d9
>> > I/DEBUG   (   32): 40ff9cb0 3080f443 f8c9 b13fe066 fad6f7ff
>> > I/DEBUG   (   32):
>> > I/DEBUG   (   32): stack:
>> > I/DEBUG   (   32):     100ffcc0  0001040c
>> > I/DEBUG   (   32):     100ffcc4  0001
>> > I/DEBUG   (   32):     100ffcc8  
>> > I/DEBUG   (   32):     100ffccc  100ffcfc
>> > I/DEBUG   (   32):     100ffcd0  40123f14
>> > I/DEBUG   (   32):     100ffcd4  40123ec4
>> > I/DEBUG   (   32):     100ffcd8  0001
>> > I/DEBUG   (   32):     100ffcdc  40123f14
>> > I/DEBUG   (   32):     100ffce0  40123ec4
>> > I/DEBUG   (   32):     100ffce4  40123ec4
>> > I/DEBUG   (   32):     100f

Re: [android-developers] Re: Renderscript problems in SDK 14

2011-10-21 Thread Xavier Ducrohet
hey all,

I put a workaround for this issue in
http://code.google.com/p/android/issues/detail?id=21006

On Fri, Oct 21, 2011 at 6:58 AM, RodneyJLambert
 wrote:
> Paul,
>
> I am seeing the same problem on Windows and Linux systems.  Even the
> sample projects like the RenderScript/MiscSamples project do not
> compile.  It looks like the Android team modified this sample to have
> two packages and the old com.android.samples package has a root
> function that returns int and not void.  The new build system is
> complaining about that error and does not generate the Java classes.
> This leads to the R.raw.rslist not being created so neither package is
> happy.
>
> I can not see a method of running any RenderScript code that I have
> written since I don't have an Ice Cream Sandwich device and I can not
> get SDK14 ADT 4 to compile SDK 11 compliant code!
>
> On Oct 19, 7:28 pm, Paul  wrote:
>> Hi,
>>
>> I updated toSDK14andnowrenderscriptno longer works. My project
>> is targetingSDK11 and it seems like the new llvm-rs-cc doesn't work
>> with this version.
>>
>> I'm using Eclipse ADT on Snow Leopard if it matters.
>>
>> Is the newrenderscriptcompiler meant to work with the old SDKs
>> (11,12,13)?
>>
>> paul
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Ice cream sandwich gpu emulation issue

2011-10-19 Thread Xavier Ducrohet
Gpu emulation is not supported yet.
On Oct 19, 2011 3:33 PM, "sebastian_bugiu" <
sebastian.bugiu.reloa...@gmail.com> wrote:

> If I have gpu emulation off everything works fine, if I turn emulation
> on then I get something like this in logcat
>
> I/DEBUG   (   32): Build fingerprint: 'generic/google_sdk/generic:
> 4.0.1/ICS_MR0/202595:eng/test-keys'
> I/DEBUG   (   32): pid: 193, tid: 194  >>> /system/bin/surfaceflinger
> <<<
> I/DEBUG   (   32): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault
> addr 002b
> I/DEBUG   (   32):  r0   r1 0ff0  r2 0002  r3 002b
> I/DEBUG   (   32):  r4 00010400  r5 00010320  r6 00010320  r7 fde0
> I/DEBUG   (   32):  r8 0001  r9 000103e8  10   fp 0001
> I/DEBUG   (   32):  ip 40123ee4  sp 100ffd00  lr 40ff9c93  pc
> 40ff9c96  cpsr 6030
> I/DEBUG   (   32):  d0  4290  d1  00a04320
> I/DEBUG   (   32):  d2  00a03f80  d3  
> I/DEBUG   (   32):  d4    d5  41ab2c459600
> I/DEBUG   (   32):  d6  3f80d2f1a9fc  d7  3f804320
> I/DEBUG   (   32):  d8    d9  
> I/DEBUG   (   32):  d10   d11 
> I/DEBUG   (   32):  d12   d13 
> I/DEBUG   (   32):  d14   d15 
> I/DEBUG   (   32):  scr 0010
> I/DEBUG   (   32):
> I/DEBUG   (   32):  #00  pc dc96  /system/lib/egl/
> libGLES_android.so (eglMakeCurrent)
> I/DEBUG   (   32):  #01  pc b40c  /system/lib/libEGL.so
> (eglMakeCurrent)
> I/DEBUG   (   32):  #02  pc 0001820a  /system/lib/
> libsurfaceflinger.so (_ZN7android15DisplayHardware4initEj)
> I/DEBUG   (   32):  #03  pc 000185aa  /system/lib/
> libsurfaceflinger.so
> (_ZN7android15DisplayHardwareC1ERKNS_2spINS_14SurfaceFlingerEEEj)
> I/DEBUG   (   32):  #04  pc 0001dcbc  /system/lib/
> libsurfaceflinger.so (_ZN7android14SurfaceFlinger10readyToRunEv)
> I/DEBUG   (   32):  #05  pc 00020c6a  /system/lib/libutils.so
> (_ZN7android6Thread11_threadLoopEPv)
> I/DEBUG   (   32):  #06  pc 000212d0  /system/lib/libutils.so
> I/DEBUG   (   32):  #07  pc 00012e08  /system/lib/libc.so
> (__thread_entry)
> I/DEBUG   (   32):  #08  pc 00012958  /system/lib/libc.so
> (pthread_create)
> I/DEBUG   (   32):
> I/DEBUG   (   32): code around pc:
> I/DEBUG   (   32): 40ff9c74 69076808 f8d4b1fc f8d9948c 03d02000
> I/DEBUG   (   32): 40ff9c84 42a7d502 e008d1ec f7ffb13f f8d7faed
> I/DEBUG   (   32): 40ff9c94 6819348c 3080f421 f8d96018 03d12000
> I/DEBUG   (   32): 40ff9ca4 4a3ad470 610c6811 3000f8d9 3080f443
> I/DEBUG   (   32): 40ff9cb4 f8c9 b13fe066 fad6f7ff 348cf8d7
> I/DEBUG   (   32):
> I/DEBUG   (   32): code around lr:
> I/DEBUG   (   32): 40ff9c70 49470a00 69076808 f8d4b1fc f8d9948c
> I/DEBUG   (   32): 40ff9c80 03d02000 42a7d502 e008d1ec f7ffb13f
> I/DEBUG   (   32): 40ff9c90 f8d7faed 6819348c 3080f421 f8d96018
> I/DEBUG   (   32): 40ff9ca0 03d12000 4a3ad470 610c6811 3000f8d9
> I/DEBUG   (   32): 40ff9cb0 3080f443 f8c9 b13fe066 fad6f7ff
> I/DEBUG   (   32):
> I/DEBUG   (   32): stack:
> I/DEBUG   (   32): 100ffcc0  0001040c
> I/DEBUG   (   32): 100ffcc4  0001
> I/DEBUG   (   32): 100ffcc8  
> I/DEBUG   (   32): 100ffccc  100ffcfc
> I/DEBUG   (   32): 100ffcd0  40123f14
> I/DEBUG   (   32): 100ffcd4  40123ec4
> I/DEBUG   (   32): 100ffcd8  0001
> I/DEBUG   (   32): 100ffcdc  40123f14
> I/DEBUG   (   32): 100ffce0  40123ec4
> I/DEBUG   (   32): 100ffce4  40123ec4
> I/DEBUG   (   32): 100ffce8  00010398
> I/DEBUG   (   32): 100ffcec  fe98
> I/DEBUG   (   32): 100ffcf0  000141b8
> I/DEBUG   (   32): 100ffcf4  4010c43f  /system/lib/libEGL.so
> I/DEBUG   (   32): 100ffcf8  df0027ad
> I/DEBUG   (   32): 100ffcfc  
> I/DEBUG   (   32): #00 100ffd00  0001
> I/DEBUG   (   32): 100ffd04  00010320
> I/DEBUG   (   32): 100ffd08  000141b8
> I/DEBUG   (   32): 100ffd0c  0001
> I/DEBUG   (   32): 100ffd10  00010398
> I/DEBUG   (   32): 100ffd14  40ff9bcd  /system/lib/egl/
> libGLES_android.so
> I/DEBUG   (   32): 100ffd18  00010398
> I/DEBUG   (   32): 100ffd1c  
> I/DEBUG   (   32): 100ffd20  000141b8
> I/DEBUG   (   32): 100ffd24  4010e40f  /system/lib/libEGL.so
> I/DEBUG   (   32): #01 100ffd28  40125b7c
> I/DEBUG   (   32): 100ffd2c  00010398
> I/DEBUG   (   32): 100ffd30  00010398
> I/DEBUG   (   32): 100ffd34  000141b8
> I/DEBUG   (   32): 100ffd38  0001
> I/DEBUG   (   32): 100ffd3c  fc48
> I/DEBUG   (   32): 100ffd40  0001
> I/DEBUG   (   32): 100ffd44  100ffdc8
> I/DEBUG   (   32): 100ffd48  00010398
> I/DEBUG   (   32): 100ffd4c  0004
> I/DEBUG   (   32): 100ffd50  fe98
> I/DEBUG   (   32): 100ffd54  4002543c
> I/DEBUG   (   32): 100ffd58  40020bb0  /system/lib/
> libs

Re: [android-developers] custom attributes in library projects

2011-10-19 Thread Xavier Ducrohet
not yet.

On Wed, Oct 19, 2011 at 12:51 AM, Izhovkin  wrote:
> Was this issue fixed in sdk tools r14?
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Unknown option '--no-crunch' in latest AAPT

2011-10-19 Thread Xavier Ducrohet
Looks like you updated to the latest eclipse plugin but didn't update
the SDK component.

aapt (part of platform-tools) revision 8 is needed to use the latest ADT.

On Wed, Oct 19, 2011 at 1:11 PM, Pinheiro  wrote:
> Hi!
> I've changed a few resources in a app, tried to run it and got the
> build error:
>
> ERROR: Unknown option '--no-crunch'
> Android Asset Packaging Tool
>
> I think the problem is not with my project (Android 2.2) but with AAPT
> itself since I got this error right after upgrading the libraries
> (Eclipse->Help->Check for updates). Then again, it could be just a
> coincidence...
> Anyone knows how to get rid of this problem? Thanks in advance!
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Android 4, no virtual keyboard.

2011-10-19 Thread Xavier Ducrohet
You can edit the AVD to not have a keyboard (it's in the hardware
properties). But then you won't be able to use your computer keyboard.

This is due to change in the input handling in the emulator that had
to be brought closer to how devices actually work.

On Wed, Oct 19, 2011 at 11:12 AM, sblantipodi
 wrote:
> Hi,
> I'm not able to show virtual keyboard on android 4 emulator.
>
> Generally if I tap on a textbox on a simulator that doesn't have a
> physical keyboard the virtual keyboard popup.
> With Android 4 I'm really not able to show virtual keyboard.
>
> Any help is appeciated.
>
> Thanks.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Android 4, still no preprocessing.

2011-10-19 Thread Xavier Ducrohet
There are no standard java preprocessor. There are some solutions out
there but if we choose one for you, then some people will complain we
chose the wrong one.

It's relatively easy to choose a solution that works for you and to
add it to the Ant or Eclipse builds, so we recommend developers to go
that way.

Xav

On Wed, Oct 19, 2011 at 10:58 AM, Kristopher Micinski
 wrote:
> I'm honestly trying to understand why you posted a rant about why you
> find the Android platform incapable, when preprocessing has nothing to
> do with it.  From what I can tell, this doesn't have anything to do
> with Android development, and I'd be interested to hear your reasoning
> as to why Ice Cream Sandwich doesn't include a language feature, when
> Java is decoupled from the runtime execution of Android apps.
>
> Why don't you try posting to the Android tools group?  Maybe you could
> find better assistance there?
>
> Kris
>
> On Wed, Oct 19, 2011 at 1:39 PM, sblantipodi
>  wrote:
>> hey kris relax no one would be aggressive with you but
>> if you are so good in answering in this thread please post something
>> useful.
>>
>>
>> On Oct 19, 7:21 pm, Kristopher Micinski 
>> wrote:
>>> On Wed, Oct 19, 2011 at 1:06 PM, sblantipodi
>>>
>>>  wrote:
>>> > the eclipse plugin is written by google team, so they should implement
>>> > a preprocessor instead of leaving the job to an external plugin.
>>>
>>> > preprocessor is necessary to big apps that needs to run on every kind
>>> > of device,
>>> > for every kind of market and for blackberry android.
>>> > if you don't use preprocessor means that you don't need it since your
>>> > apps
>>> > don't run on many market and on many device :)
>>>
>>> I assume that your ":)"s are a passive aggressive insult about people
>>> who don't use preprocessors in their apps...  But I can think of a
>>> number of apps that don't use a preprocessor.
>>>
>>> A preprocessor is a separate program, how would this fit into the
>>> eclipse plugin? Along with this, the development tools are completely
>>> separate from the Android platform, so why would Ice Cream Sandwich
>>> have anything to do this?
>>>
>>> If you want to use a preprocessor, you can use a java preprocessor and
>>> include it as an ant task.  If you have one you would like to see in
>>> the development tools, why aren't you working on integrating an open
>>> source one with the Android development tools?
>>>
>>> Kris
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] SDK 4, if I select WXGA resolution, emulator doesn't start.

2011-10-19 Thread Xavier Ducrohet
Are you running snapshots?

There is an issue reloading snapshots created by older versions of the
emulator. Unfortunately, the symptoms look like the emulator doesn't
boot.

Delete the snapshots and recreate them for now. We are going to fix
the emulator to make incompatible snapshot format problem more obvious
to the user.

On Wed, Oct 19, 2011 at 8:52 AM, sblantipodi
 wrote:
> Am I the only one experiencing this problem?
> The only way to launch a simulator is using another resolution or a
> manual 720x1280, why?
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Package is not available in sample folder of android sdk.

2011-10-19 Thread Xavier Ducrohet
Note that the package is now called "Support library". The SDK Manager
should show "support" rev4, which will install on top of the previous
"compatibility" library r3

2011/10/19 Kostya Vasilyev :
> The compatibility library is a separate download, listed under
> extras/Google, I believe.
>
> --
> Kostya Vasilyev
>
> 19.10.2011 13:24 пользователь "shweta" 
> написал:
>>
>> Hello,
>>
>> There is "action bar compatibilty" package in android 3.0 in android
>> developer site . i have installed android 3.0 but  i don't get "action
>> bar compatibilty" package in android -sdk.
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] not supporting xhdpi resolution

2011-10-19 Thread Xavier Ducrohet
2.2 does not support xlarge screens. you have to compile against 2.3
(I think) or 3.0.

On Tue, Oct 18, 2011 at 11:23 PM, Ratheesh Valamchuzhy
 wrote:
> I am developing an app in android 2.2 , i want  to support my app in all
> resolutions (ldpi,mdpi,hdpi,xhdpi)
>
> so i created 4 folders in res folder (layout-ldpi ,layout-mdpi ,layout-hdpi
> ,layout-xhdpi)
>
> then i given supported screens android manifest as
>
>   android:smallScreens="true" android:anyDensity="true"
> android:resizeable="true" android:xlargeScreens="true">
>  
>
> it returns an error that
>
> No resource identifier found for attribute 'xlargeScreens' in package
> 'android
> plse help me
>
>
> --
> --
> ωιтн яєgαя∂ѕ
> Ratheesh ...
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: apk/libs tree structure

2011-08-17 Thread Xavier Ducrohet
the lib folder must be in the format /lib//*.so

This is because, at install time, only the *.so for the supported abi
of the given device are extracted from the apk and put in the app
install folder where they can be loaded from.

On Wed, Aug 17, 2011 at 7:00 AM, Marco Bernasocchi
 wrote:
> Hi, I'm porting QGIS to android and the code (native all crosscompiled with
> ndk) should dinamically load .so from a specific folder (lib/plugins). is
> there a way to preserve such a structure in the lib folder? If i just pur my
> plugins folder into libs and run ant debug the apk has only the top level
> shared objects. If I generate with ant release, then add the files to the
> apk, sign, zipalign and install, the lib/plugin folder still does not exist.
> any suggestions? (I'd rather not change the code since it is a big qt based
> project and less hacks are better)
>
> ciao Marco
>
> --
> You received this message because you are subscribed to the Google Groups
> "android-ndk" group.
> To post to this group, send email to android-...@googlegroups.com.
> To unsubscribe from this group, send email to
> android-ndk+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/android-ndk?hl=en.
>
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Ang.: bug in the ADT v.12.0.0 ?

2011-08-05 Thread Xavier Ducrohet
The doc is wrong. this was added in rev 7.

On Fri, Aug 5, 2011 at 4:33 AM, hjo1620  wrote:
> According to this
>
> http://stackoverflow.com/questions/6955165/why-is-previously-prohibited-library-references-possible-in-adt-12-0-0
>
> "Latest version of ADT and Android build system both support nested library
> dependencies."
>
> Good stuff indeed.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: SDK Tools r12 causing aapt to fail

2011-07-29 Thread Xavier Ducrohet
one last thing.

I'm looking at actually disabling this syntax anyway for the next aapt
release, so you may as well just fix your styles correctly right now.

On Thu, Jul 28, 2011 at 12:18 AM, Diederik  wrote:
> From the logged bug:
>
> Comment 6 by tomy...@gmail.com, Jul 26
> parent="@*android:style/x" seems to be the work around in the new
> Tool.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: SDK Tools r12 causing aapt to fail

2011-07-29 Thread Xavier Ducrohet
You really really really do not want to do this. please read all my
comments on the bug.

While you think it does what you want, it will *not* work on any
devices. It would only work on a device using the same build as the
SDK, which is basically only the emulator.

Every other device will have assigned a different integer to the style
you are setting as a parent than the one set in your resources. At
runtime it will fail to find the parent style, probably silently but
it means you won't actually extend any style (or the wrong one!)

On Thu, Jul 28, 2011 at 12:18 AM, Diederik  wrote:
> From the logged bug:
>
> Comment 6 by tomy...@gmail.com, Jul 26
> parent="@*android:style/x" seems to be the work around in the new
> Tool.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Problem after upgrading to revision 12

2011-07-29 Thread Xavier Ducrohet
You need to update to ADT 12 as well.

On Fri, Jul 29, 2011 at 11:36 AM, Scott Hammer  wrote:
> I'm in the same boat here. Recently updated to r12 and I can no longer
> preview layouts.
>
> On Jul 29, 1:01 pm, darrinps  wrote:
>> Everything was working fine until I upgraded to revision 12. Now every
>> layout I try to bring up gives me the message:
>>
>> LayoutLibistoorecent.Updateyourtool
>>
>> Well, I didupdateit!
>>
>> Anyone know what the problem is?
>>
>> Thanks.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: ActionBar/Mode Style Regressions with SDK 12r2 and 13r1

2011-07-28 Thread Xavier Ducrohet
These were always private but aapt didn't correctly enforce not being
able to reference private styles/attributes.

Note that this would not have done what you wanted as private resource
integers change from build to build.

see bug http://code.google.com/p/android/issues/detail?id=18659 for more detail.

On Sat, Jul 16, 2011 at 2:18 PM, Jake Wharton  wrote:
> I managed to fix these up fairly easily. I can only assume the removed
> styles were not meant to be public yet and that the styling of action modes
> is being limited to provide a more consistent experience.
> The missing attributes definitely need to be on the API differences report
> at the very least.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: SDK Tools r12 causing aapt to fail

2011-07-28 Thread Xavier Ducrohet
hello everyone,

I just commented on the bug but I'll copy-paste it here too.

Short version: this is working as intended (and has it should always have been).

What is happening is that some styles, like WindowTitle are not public
(you won't find them in android.R.style). You should not be extending
non public resources. aapt used to let you do that but it was a bug
which was fixed in platform-tools r6.

The issue is that once compiled, resources are assigned an integer. In
this case your custom style is assigned an integer and its parent is
referenced through the parent integer.

For the framework, only public resources are guaranteed to only have
the same integer, build after build. The integer of private resources
integer will change from build to build.

This means that your custom style is referencing a parent that *will
not* be valid once installed on a device. It'll referenced either
another resources or none at all, and it won't do what you want.

If you wish to reuse a style that is private, you should copy the
content of that style into your own instead of extending it.

Reverting to an older aapt that lets you do this is basically similar
to using a private Java API.

Our stance on this has been clear since 1.0: Don't do it. It may be
convenient for a bit, but it'll break on devices, all of them in this
case too, and it's not good for anyone.


xav
-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Compatibility Library, revision 3 has a 0 size

2011-07-27 Thread Xavier Ducrohet
I was able to download/install it just now.

the size display (0MiB) is a bug due to the size of the package being
too small and rounding to 0.

Xav

On Tue, Jul 26, 2011 at 7:41 PM, Walt Armour  wrote:
> Trying to update to revision 3.  No errors, it just never updates.
>
> Here's the package description from the SDK manager dialog.  Any
> suggestions?  Alternative download locations?
>
> --
> Package Description
> Compatibility libraries, revision 3
>
> This update will replace revision 1 with revision 3.
>
> Archive Description
> Archive for any OS
> Size: 0 MiB
> SHA1: 49e32c0aca8e52c2e9a398912a68c036583b917f
>
> Site
> Android Repository (dl-ssl.google.com)
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Using assets / permissions from library projects

2011-07-18 Thread Xavier Ducrohet
Not at the moment. It's something we want to do but there's nothing right now.

On Mon, Jul 18, 2011 at 1:56 PM, Dale Harvey  wrote:
> I am currently working on an application that is packaged as an
> android library, the library contains some source files as well as
> some binaries delivered in the assets folder, additionally some
> permissions are required to run the library.
>
> Currently developers must create their own project and import as an
> android library to use the project, developers then need to manually
> copy the assets from the library into their own project as well as
> manually copy the permissions. This mostly works well however it is
> very easy for developers to not add the correct permissions or also
> commonly the binaries are updated within the library project and those
> updates are not reflected in the copied assets.
>
> Is there any easy way for me to provide to developers to merge the
> permissions and assets together, or any plans for new SDK's to do so
> automatically?
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] SDK Tools r12 causing aapt to fail

2011-07-18 Thread Xavier Ducrohet
It's likely not r12 that is the problem but the new platform-tools (ie
new aapt) that shipped with 3.2

This is not normal syntax, although aapt has supported it in the past.
It is possible (I'm not sure, aapt is handled by the framework team)
this is now unsupported. Try changing it to @android:style/WindowTitle
which is the right way of referencing resources.

On Mon, Jul 18, 2011 at 7:16 AM, William Ferguson
 wrote:
> Since updating my SDK to r12, an existing project (with zero code
> changes) now fails during aapt generation with:
>
> [INFO] C:\Dev\Android-sdk\platform-tools\aapt.exe [package, -m, -J, C:
> \Source\android\Jumblee\target\generated-sources\r, -M, C:\Source
> \android\Jumblee\target\filtered-manifest\AndroidManifest.xml, -S, C:
> \Source\android\Jumblee\target\generated-sources\combined-resources
> \res, --auto-add-overlay, -I, C:\Dev\Android-sdk\platforms
> \android-10\android.jar]
>
> [INFO] C:\Source\android\Jumblee\target\generated-sources\combined-
> resources\res\values\theme.xml:16: error: Error retrieving parent for
> item: No resource found that matches the given name
> 'android:WindowTitle'.
>
>
> The relevant lines from the resource file are:
>
>    
>    >
>    
>         <item name="android:textAppearance">@style/
> CustomWindowTitleText</item>
>    
>
> Has anyone seem something similar?
> Or better still know wtf is going on?
>
> William
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Eclipse errors in XML ... but where is the error? results

2011-07-11 Thread Xavier Ducrohet
Try to delete the error marker to see if that helps. If it doesn't
show up again you'll be good.

To delete: open the Problems view, select the error and hit delete.

On Mon, Jul 11, 2011 at 11:35 AM, Jim Graham  wrote:
> I'm seeing two errors for one line in a string-array that make
> absolutely no sense.
>
> Here's the line in question:
>
>        Use 5% to 10% for a noticeable smoke character in lighter styles 
> such as Scottish Ales and Oktoberfests, 10% to 20% for a pronounced smoke 
> character in lighter styles like Scottish Ales and Oktoberfests, or 30% to 
> 60% for a noticeable to pronounced smoke character in darker styles like 
> Stouts and Porters.  Use in a variety of beer styles to develop complexity or 
> rich, robust smoky flavor.  Briess Smoked Malt delivers intense smoked 
> flavor.  We recommend limiting usage to 60% of the grist.
>
> And the errors:
>
> error: Found tag  where  is expected
> error: Multiple substitutions specified in non-positional format;
>      did you mean to add the formatted="false" attribute?
>
> NOTE:  The string-array IS terminated properly at the end.
>
> I thought, for a moment, that the percentages in the line were causing
> the second error, but then, why only this line, and not all of the others
> with percentages?  And why would Eclipse claim that this should be the
> end of the string-array, when, in fact, it's only in the middle?
>
> Thanks,
>   --jim
>
> --
> 73 DE N5IAL (/4)            MiSTie #49997      < Running FreeBSD 7.0 >
> spooky1...@gmail.com                    ICBM/Hurr.: 30.44406N 86.59909W
> Point Lobos Photography Set 1 (Photo-posters):  http://jdgapps.com
>
>   "Now what *you* need is a proper pint of porter poured in a proper
>   pewter porter pot.."     --Peter Dalgaard in alt.sysadmin.recovery
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Eclipse Layout Editor news

2011-06-23 Thread Xavier Ducrohet
hmm I couldn't find it. I think we saw the report somewhere else.

I just filed: http://code.google.com/p/android/issues/detail?id=17922

On Thu, Jun 23, 2011 at 2:18 AM, Zarah  wrote:
> Hey Xav, hey Tor!
>
> Would you mind sharing the bug number so I can star it?
>
> I would try setting up my workspace with the preview in the coming
> days. It looks good though!
>
> This is just nitpicking but in the Download page of tools.android.com,
> it says:
> "To get back to the public version you will need to uninstall and then
> reinstall the public version."
>
> Might this mean uninstall the preview version and then reinstall the
> public version?
>
>
> Thanks!
> - Zarah.
>
> On Jun 23, 10:00 am, Tor Norbye  wrote:
>> ...and in the meantime, if you're working with RelativeLayouts,
>> instead of setting ids manually via the property sheet etc, you could
>> try the ADT 12 preview bits where we have improved the relative layout
>> support quite a bit. It will hopefully make working with relative
>> layouts easier; and if it isn't, please file bugs!
>>
>> http://tools.android.com/recent/revampedrelativelayoutsupporthttp://tools.android.com/download
>>
>> -- Tor
>>
>>
>>
>>
>>
>>
>>
>> On Wed, Jun 22, 2011 at 6:52 PM, Xavier Ducrohet  wrote:
>> > Someone has filed a bug for this a couple of weeks ago. It seems to be
>> > broken. We'll look at it.
>>
>> > On Wed, Jun 22, 2011 at 3:43 AM,Zarah wrote:
>> >> Hi!
>>
>> >> Does anybody else has a problem editing RelativeLayouts? I can't seem
>> >> to reference other widgets when choosing anchor points. It works if I
>> >> type the attributes manually though. But if I go to the GUI editor,
>> >> scroll down to Layout properties and bring up the reference chooser, I
>> >> can't seem to find the IDs of the other widgets in the project. I'm
>> >> pretty sure it was there before I upgraded my ADT.
>>
>> >> Do I have to set something up?
>>
>> >> Thanks!
>> >> -Zarah.
>>
>> >> On Jun 3, 7:36 am, Xavier Ducrohet  wrote:
>> >>> hey all,
>>
>> >>> We are preparing the final version ofADT11which includes a lot of
>> >>> the features demoed at I/O.
>>
>> >>> Some of these features requires a new rendering library which is
>> >>> packaged with each version of the Android platform SDK component.
>> >>> We have also fixed a lot of rendering issues in the rendering library,
>> >>> and we are looking to release them soon(ish).
>>
>> >>> In the meantime, we have made release candidate builds ofADT11and
>> >>> the rendering libraries for 2.2 / 2.3.3 / 3.0 / 3.1 
>> >>> athttp://tools.android.com/download
>>
>> >>> We would love if some of you could install them and send us feedback
>> >>> throughhttp://b.android.com/
>>
>> >>> thanks!
>> >>> Xav
>> >>> --
>> >>> Xavier Ducrohet
>> >>> Android SDK Tech Lead
>> >>> Google Inc.http://developer.android.com|http://tools.android.com
>>
>> >>> Please do not send me questions directly. Thanks!
>>
>> >> --
>> >> You received this message because you are subscribed to the Google
>> >> Groups "Android Developers" group.
>> >> To post to this group, send email to android-developers@googlegroups.com
>> >> To unsubscribe from this group, send email to
>> >> android-developers+unsubscr...@googlegroups.com
>> >> For more options, visit this group at
>> >>http://groups.google.com/group/android-developers?hl=en
>>
>> > --
>> > Xavier Ducrohet
>> > Android SDK Tech Lead
>> > Google Inc.
>> >http://developer.android.com|http://tools.android.com
>>
>> > Please do not send me questions directly. Thanks!
>>
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups "Android Developers" group.
>> > To post to this group, send email to android-developers@googlegroups.com
>> > To unsubscribe from this group, send email to
>> > android-developers+unsubscr...@googlegroups.com
>> > For more options, visit this group at
>> >http://groups.google.com/group/android-developers?hl=en
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Eclipse Layout Editor news

2011-06-22 Thread Xavier Ducrohet
Someone has filed a bug for this a couple of weeks ago. It seems to be
broken. We'll look at it.

On Wed, Jun 22, 2011 at 3:43 AM, Zarah  wrote:
> Hi!
>
> Does anybody else has a problem editing RelativeLayouts? I can't seem
> to reference other widgets when choosing anchor points. It works if I
> type the attributes manually though. But if I go to the GUI editor,
> scroll down to Layout properties and bring up the reference chooser, I
> can't seem to find the IDs of the other widgets in the project. I'm
> pretty sure it was there before I upgraded my ADT.
>
> Do I have to set something up?
>
> Thanks!
> - Zarah.
>
>
> On Jun 3, 7:36 am, Xavier Ducrohet  wrote:
>> hey all,
>>
>> We are preparing the final version ofADT11which includes a lot of
>> the features demoed at I/O.
>>
>> Some of these features requires a new rendering library which is
>> packaged with each version of the Android platform SDK component.
>> We have also fixed a lot of rendering issues in the rendering library,
>> and we are looking to release them soon(ish).
>>
>> In the meantime, we have made release candidate builds ofADT11and
>> the rendering libraries for 2.2 / 2.3.3 / 3.0 / 3.1 
>> athttp://tools.android.com/download
>>
>> We would love if some of you could install them and send us feedback
>> throughhttp://b.android.com/
>>
>> thanks!
>> Xav
>> --
>> Xavier Ducrohet
>> Android SDK Tech Lead
>> Google Inc.http://developer.android.com|http://tools.android.com
>>
>> Please do not send me questions directly. Thanks!
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Is ADT 11 compatible with Eclipse Indigo 3.7 ?

2011-06-22 Thread Xavier Ducrohet
We aren't aware of any issues, but we haven't done full testing yet.

On Wed, Jun 22, 2011 at 1:41 PM, goosedroid  wrote:
> With the new release of Eclipse Indigo 3.7, does google officially
> bless ADT 11 to work on it ? Are there any known bugs one should be
> aware of?
>
> Thanks
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Emulator .ini files

2011-06-13 Thread Xavier Ducrohet
For config.ini you can look at $SDK/tools/lib/hardware-properties.ini
which describe *some* prop that can go in there.

(the ones that aren't describe in there are set by the AVD Manager and
you really shouldn't change them anyway).

Xav

On Mon, Jun 13, 2011 at 1:11 PM, David Turner  wrote:
>
>
> On Sun, Jun 12, 2011 at 7:17 PM, mlybrand  wrote:
>>
>> Is there a good reference for what options are available for me to put
>> in these files:
>>
>> .ini
>> config.ini
>> emulator-user.ini
>>
>> The documentation shows several command line options for further
>> controlling the emulators, but I would prefer to do some sort of
>> configuration customization for when it launches from Eclipse.  The
>> specific issue I am trying to control is the window size and position.
>> But I can imagine that other options might make me come up with other
>> stuff I would prefer my emulator to do. So some sort of cheat sheet
>> would be ideal.
>>
> For the files themselves, there is no documentation, you will have to read
> the source code.
> Generally speaking, these files, or the way they are used, are likely to
> change in the future (they already did).
> We're certainly not going to support third-party tools trying to modify them
> in any way.
> The command-line options, and the console commands, on the other hand, will
> be supported as much as we can.
> - David
>
>>
>> TIA.
>>
>> Mark
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Emulator .ini files

2011-06-13 Thread Xavier Ducrohet
Window size can be configured only through the -scale option.  You can
set this from the launch config dialog.

You cannot control its location. See "emulator -help for the full
command line options.

Xav

On Sun, Jun 12, 2011 at 10:17 AM, mlybrand  wrote:
> Is there a good reference for what options are available for me to put
> in these files:
>
> .ini
> config.ini
> emulator-user.ini
>
> The documentation shows several command line options for further
> controlling the emulators, but I would prefer to do some sort of
> configuration customization for when it launches from Eclipse.  The
> specific issue I am trying to control is the window size and position.
> But I can imagine that other options might make me come up with other
> stuff I would prefer my emulator to do. So some sort of cheat sheet
> would be ideal.
>
> TIA.
>
> Mark
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Where should the anim folder go now?

2011-06-09 Thread Xavier Ducrohet
Old style animations (pre-3.0) should go in res/anim/
New style animations (3.0+) should go in res/animator/

Xav

On Thu, Jun 9, 2011 at 7:23 PM, GJTorikian  wrote:
> I was listening to the most excellent Google I/O 2011 talk about the
> new changes to ADT r11. At one point, Xavier recommends something
> about moving the animation folder. I didn't catch why, or what the
> change should be.
>
> Right now I have it under res/anim. Is the preference to move it to
> raw/animation ? Is this only for apps targeted to 3.0+, or apps using
> ADT r11?
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: ADT 11.0.0

2011-06-08 Thread Xavier Ducrohet
I'm a bit surprised this used to work. I'll double check.

On Wed, Jun 8, 2011 at 2:50 PM, Abhishek Akhani
 wrote:
> Thanks for replying Xavier...
>
> You are right i am trying to add the reference from the property
> sheet... in previous versions i was able to choose ids from this sheet
> through dialog but now
> i have to write it through XML code I did it through manually
> writing but it takes more time :( .
>
>
>
>
> On Jun 9, 2:38 am, Xavier Ducrohet  wrote:
>> I'm guessing you're trying to add the reference from the property
>> sheet through the dialog that pops-up when you click the "..." button?
>>
>> If this is the case then this "reference chooser" dialog does not in
>> fact show any id. This does not prevent you from setting them though,
>> just manually type @id/foo
>> If you're doing something else, then please give us more info.
>>
>> thanks
>> Xav
>>
>> On Wed, Jun 8, 2011 at 10:16 AM, abhishek akhani
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>  wrote:
>> > Hi
>>
>> > Today i downloaded ADT 11.0.0 and now when i am adding any view to
>> > Relative layout i am having problem adding it. Like i can not find any
>> > id to reference as a "align bottom" or "Layout Right of" property..
>> > when i try to set these properties it shows me
>> > Drawables,Arrays,Strings,Layout - ids but i am not able to get view-
>> > ids anywhere which i need... is this a bug or what? Is there any
>> > one to explain???
>>
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups "Android Developers" group.
>> > To post to this group, send email to android-developers@googlegroups.com
>> > To unsubscribe from this group, send email to
>> > android-developers+unsubscr...@googlegroups.com
>> > For more options, visit this group at
>> >http://groups.google.com/group/android-developers?hl=en
>>
>> --
>> Xavier Ducrohet
>> Android SDK Tech Lead
>> Google Inc.http://developer.android.com|http://tools.android.com
>>
>> Please do not send me questions directly. Thanks!
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] ADT 11.0.0

2011-06-08 Thread Xavier Ducrohet
I'm guessing you're trying to add the reference from the property
sheet through the dialog that pops-up when you click the "..." button?

If this is the case then this "reference chooser" dialog does not in
fact show any id. This does not prevent you from setting them though,
just manually type @id/foo
If you're doing something else, then please give us more info.

thanks
Xav

On Wed, Jun 8, 2011 at 10:16 AM, abhishek akhani
 wrote:
> Hi
>
> Today i downloaded ADT 11.0.0 and now when i am adding any view to
> Relative layout i am having problem adding it. Like i can not find any
> id to reference as a "align bottom" or "Layout Right of" property..
> when i try to set these properties it shows me
> Drawables,Arrays,Strings,Layout - ids but i am not able to get view-
> ids anywhere which i need... is this a bug or what? Is there any
> one to explain???
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] ADK Errors in Eclipse

2011-06-07 Thread Xavier Ducrohet
If you're using the *future.* API you need to compile against the
Google APIs add-ons.

It'll run on stock 3.1 but the 3.1 platform does not expose the
*.future.* API. It exposes
http://developer.android.com/reference/android/hardware/usb/UsbAccessory.html
instead.

On Thu, May 19, 2011 at 9:33 PM, yc  wrote:
> I've managed to make my ADK board blink - I'm on the step where I am
> trying to install the app on my Android, but when I got the v10 and
> v12 API and created a new DemoKit file, I get 29 errors:
>
> The import com.android.future cannot be resolved, etc
> UsbAccessory cannot be resolved to a type
>
> I've tried deleting v10 and 12 and redownloading via the AVD in
> Eclipse. Same 29 errors. Please help!
>
> http://a.android.com/demokit
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Updating to ADT 11

2011-06-07 Thread Xavier Ducrohet
Are you trying to only install/uninstall DDMS?

I can see a case where you can't uninstall DDMS because ADT depends on
it (they are 2 separate plug-ins, ADT requiring DDMS).

Make sure you select at least ADT and DDMS when you install (or uninstall).

On Tue, Jun 7, 2011 at 2:43 PM, mlybrand  wrote:
> Tried uninstalling through eclipse, but the option was grayed out and
> inaccessible (as stated in my original post). Will I need to do this
> from the control panel (I am on Windows Vista )? Does anyone
> know if that will even work, or will I leave vestiges in eclipse that
> will get me know closer to my objective?  I would look a little closer
> myself, but I am away from the machine I do android dev (er..
> learning) on...
>
> Mark :)
>
> On Jun 7, 12:06 pm, Xavier Ducrohet  wrote:
>> I'm not sure what's going on. You could try to uninstall the previous
>> android plug-ins and install the new ones.
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> On Tue, Jun 7, 2011 at 6:17 AM, mlybrand  wrote:
>> > They all seem to be related to DDMS at this point:
>>
>> > Cannot complete the install because of a conflicting dependency.
>> >  Software being installed: Android DDMS 11.0.0.v201105251008-128486
>> > (com.android.ide.eclipse.ddms.feature.group
>> > 11.0.0.v201105251008-128486)
>> >  Software currently installed: Shared profile 1.0.0.1304396274587
>> > (SharedProfile_epp.package.java 1.0.0.1304396274587)
>> >  Only one of the following can be installed at once:
>> >    Android DDMS 10.0.1.v201103111512-110841
>> > (com.android.ide.eclipse.ddms.feature.jar 10.0.1.v201103111512-110841)
>> >    Android DDMS 11.0.0.v201105251008-128486
>> > (com.android.ide.eclipse.ddms.feature.jar 11.0.0.v201105251008-128486)
>> >  Cannot satisfy dependency:
>> >    From: Shared profile 1.0.0.1304396274587
>> > (SharedProfile_epp.package.java 1.0.0.1304396274587)
>> >    To: com.android.ide.eclipse.ddms.feature.jar
>> > [10.0.1.v201103111512-110841]
>> >  Cannot satisfy dependency:
>> >    From: Android DDMS 11.0.0.v201105251008-128486
>> > (com.android.ide.eclipse.ddms.feature.group
>> > 11.0.0.v201105251008-128486)
>> >    To: com.android.ide.eclipse.ddms.feature.jar
>> > [11.0.0.v201105251008-128486]
>>
>> > Mark :)
>>
>> > On Jun 7, 12:31 am, Xavier Ducrohet  wrote:
>> >> what exact errors do you see?
>>
>> >> On Tue, Jun 7, 2011 at 12:05 AM, mlybrand  wrote:
>> >> > So, I can't update as Eclipse is telling me there are conflicts. The
>> >> > android site advises me to remove ADT and reinstall, but all options
>> >> > to do so are grayed out and unavailable to me. Has anyone else
>> >> > encountered this difficulty? Any advice as to the steps I should take
>> >> > to update my ADT plugins?
>>
>> >> > Thanks.
>>
>> >> > Mark
>>
>> >> > --
>> >> > You received this message because you are subscribed to the Google
>> >> > Groups "Android Developers" group.
>> >> > To post to this group, send email to android-developers@googlegroups.com
>> >> > To unsubscribe from this group, send email to
>> >> > android-developers+unsubscr...@googlegroups.com
>> >> > For more options, visit this group at
>> >> >http://groups.google.com/group/android-developers?hl=en
>>
>> >> --
>> >> Xavier Ducrohet
>> >> Android SDK Tech Lead
>> >> Google Inc.http://developer.android.com|http://tools.android.com
>>
>> >> Please do not send me questions directly. Thanks!
>>
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups "Android Developers" group.
>> > To post to this group, send email to android-developers@googlegroups.com
>> > To unsubscribe from this group, send email to
>> > android-developers+unsubscr...@googlegroups.com
>> > For more options, visit this group at
>> >http://groups.google.com/group/android-developers?hl=en
>>
>> --
>> Xavier Ducrohet
>> Android SDK Tech Lead
>> Google Inc.http://developer.android.com|http://tools.android.com
>>
>> Please do not send me questions directly. Thanks!
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] ADT 11 and layout-editor errors under Android 3.0 and Android 3.1 layout styles

2011-06-07 Thread Xavier Ducrohet
It looks like you may not be using the preview rendering libraries we
put up at http://tools.android.com/download

You should try with those as we fixed something similar in them, but
haven't released them yet (we're still tweaking them)

Xav

On Tue, Jun 7, 2011 at 7:50 AM, Streets Of Boston
 wrote:
> Hi,
> It seems that the layout-editor cannot run this code successfully in our
> EditTime.java implemenation:
> ...
>             TypedArray customTypedAttrs =
> context.obtainStyledAttributes(attrs, R.styleable.EditTime);
> (line 279)  regularTextColor =
> customTypedAttrs.getColor(R.styleable.EditTime_android_textColor,
> context.getResources().getColor(R.color.text));
> ...
> Where R.color.text is defined as a ./res/color/text.xml:
> (The text_color_dis and text_color_default are defined as proper hex-values
> in the ./res/values/colors.xml)
> http://schemas.android.com/apk/res/android";>
>      android:color="@color/text_color_dis"/>
>     
> 
> And where EditTime_android_textColor is defined in attrs.xml:
> ...
>   
>     
>     
>     
>     
>   
> ...
>
> It throws an exception with this stacktrace in the error-log:
> java.lang.NumberFormatException: Color value
> 'D:\mobile\android.kronosmobile.02.00\source\KronosMobile\res\color\text.xml'
> must start with #
>   at
> com.android.layoutlib.bridge.impl.ResourceHelper.getColor(ResourceHelper.java:73)
>   at
> com.android.layoutlib.bridge.android.BridgeResources.getColor(BridgeResources.java:178)
>   at com.kronos.mobile.android.widget.EditTime.init(EditTime.java:279)
>   at com.kronos.mobile.android.widget.EditTime.(EditTime.java:67)
>   at com.kronos.mobile.android.widget.EditTime.(EditTime.java:62)
>   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>   at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>   at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>   at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
>   ...
> Is the code on line 279 wrong or is this an issue with the layout-editor
> plugin? The code runs fine on the emulator or on an actual device.
> Thanks!
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Updating to ADT 11

2011-06-07 Thread Xavier Ducrohet
I'm not sure what's going on. You could try to uninstall the previous
android plug-ins and install the new ones.

On Tue, Jun 7, 2011 at 6:17 AM, mlybrand  wrote:
> They all seem to be related to DDMS at this point:
>
> Cannot complete the install because of a conflicting dependency.
>  Software being installed: Android DDMS 11.0.0.v201105251008-128486
> (com.android.ide.eclipse.ddms.feature.group
> 11.0.0.v201105251008-128486)
>  Software currently installed: Shared profile 1.0.0.1304396274587
> (SharedProfile_epp.package.java 1.0.0.1304396274587)
>  Only one of the following can be installed at once:
>    Android DDMS 10.0.1.v201103111512-110841
> (com.android.ide.eclipse.ddms.feature.jar 10.0.1.v201103111512-110841)
>    Android DDMS 11.0.0.v201105251008-128486
> (com.android.ide.eclipse.ddms.feature.jar 11.0.0.v201105251008-128486)
>  Cannot satisfy dependency:
>    From: Shared profile 1.0.0.1304396274587
> (SharedProfile_epp.package.java 1.0.0.1304396274587)
>    To: com.android.ide.eclipse.ddms.feature.jar
> [10.0.1.v201103111512-110841]
>  Cannot satisfy dependency:
>    From: Android DDMS 11.0.0.v201105251008-128486
> (com.android.ide.eclipse.ddms.feature.group
> 11.0.0.v201105251008-128486)
>    To: com.android.ide.eclipse.ddms.feature.jar
> [11.0.0.v201105251008-128486]
>
> Mark :)
>
> On Jun 7, 12:31 am, Xavier Ducrohet  wrote:
>> what exact errors do you see?
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> On Tue, Jun 7, 2011 at 12:05 AM, mlybrand  wrote:
>> > So, I can't update as Eclipse is telling me there are conflicts. The
>> > android site advises me to remove ADT and reinstall, but all options
>> > to do so are grayed out and unavailable to me. Has anyone else
>> > encountered this difficulty? Any advice as to the steps I should take
>> > to update my ADT plugins?
>>
>> > Thanks.
>>
>> > Mark
>>
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups "Android Developers" group.
>> > To post to this group, send email to android-developers@googlegroups.com
>> > To unsubscribe from this group, send email to
>> > android-developers+unsubscr...@googlegroups.com
>> > For more options, visit this group at
>> >http://groups.google.com/group/android-developers?hl=en
>>
>> --
>> Xavier Ducrohet
>> Android SDK Tech Lead
>> Google Inc.http://developer.android.com|http://tools.android.com
>>
>> Please do not send me questions directly. Thanks!
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Updating to ADT 11

2011-06-07 Thread Xavier Ducrohet
what exact errors do you see?

On Tue, Jun 7, 2011 at 12:05 AM, mlybrand  wrote:
> So, I can't update as Eclipse is telling me there are conflicts. The
> android site advises me to remove ADT and reinstall, but all options
> to do so are grayed out and unavailable to me. Has anyone else
> encountered this difficulty? Any advice as to the steps I should take
> to update my ADT plugins?
>
> Thanks.
>
> Mark
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] New (V11) layout editor doesn't recognize custom styleables

2011-06-04 Thread Xavier Ducrohet
It should be working but I'll double check Monday.

Xav
On Jun 4, 2011 10:00 PM, "Zsolt Vasvari"  wrote:
> Maybe I am doing something wrong, but the new layout editor is not
> picking up my custom styleable attributes.
>
> I have:
>
> 
> 
> 
> 
> 
> 
> 
>
>
> The custom View constructor:
>
> TypedArray attributes = context.obtainStyledAttributes(attrs,
> R.styleable.ColorPicker);
> setStyle(Style.values()
> [attributes.getInt(R.styleable.ColorPicker_style,
> Style.HORIZONTAL.ordinal())]);
> setArrowColor(attributes.getColor(R.styleable.ColorPicker_arrowColor,
> Color.WHITE));
>
>
> Layout:
>
> http://schemas.android.com/apk/res/
> com.blah.myapp" ...>
>
>  android:layout_width="match_parent"
> android:layout_height="50dp"
> app:style="circular"/>
>
>
>
> The control is fine at runtime, but at layout design time, it's shown
> with it's default style "HORIZONTAL". Also, the property pane says
> "app:style" is an "Unknown XML attribute"
>
> Is this supposed to work at all? Is it a bug or am I doing something
> wrong on my end?
>
>
> Created issue 17397 for this on b.android.com
>
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Eclipse Layout Editor news

2011-06-02 Thread Xavier Ducrohet
sure. If you can file a bug and attach your custom view that would be
great. If needed try to extract the part that doesn't render
correctly.

On Thu, Jun 2, 2011 at 8:34 PM, Zsolt Vasvari  wrote:
> Do you care about bug reports where my (simple) custom View doesn't
> paint correctly and I can't indentify why?
>
>
>
> On Jun 3, 7:36 am, Xavier Ducrohet  wrote:
>> hey all,
>>
>> We are preparing the final version of ADT 11 which includes a lot of
>> the features demoed at I/O.
>>
>> Some of these features requires a new rendering library which is
>> packaged with each version of the Android platform SDK component.
>> We have also fixed a lot of rendering issues in the rendering library,
>> and we are looking to release them soon(ish).
>>
>> In the meantime, we have made release candidate builds of ADT 11 and
>> the rendering libraries for 2.2 / 2.3.3 / 3.0 / 3.1 
>> athttp://tools.android.com/download
>>
>> We would love if some of you could install them and send us feedback
>> throughhttp://b.android.com/
>>
>> thanks!
>> Xav
>> --
>> Xavier Ducrohet
>> Android SDK Tech Lead
>> Google Inc.http://developer.android.com|http://tools.android.com
>>
>> Please do not send me questions directly. Thanks!
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Eclipse Layout Editor news

2011-06-02 Thread Xavier Ducrohet
hey all,

We are preparing the final version of ADT 11 which includes a lot of
the features demoed at I/O.

Some of these features requires a new rendering library which is
packaged with each version of the Android platform SDK component.
We have also fixed a lot of rendering issues in the rendering library,
and we are looking to release them soon(ish).

In the meantime, we have made release candidate builds of ADT 11 and
the rendering libraries for 2.2 / 2.3.3 / 3.0 / 3.1 at
http://tools.android.com/download

We would love if some of you could install them and send us feedback
through http://b.android.com/

thanks!
Xav
-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Minor layout editor bug report

2011-06-02 Thread Xavier Ducrohet
While I read the forums, I really can't keep up with the amount of new
threads, and I almost missed this.

Anyway, thanks for the report, this would be a perfect bug to be filed
on http://b.android.com

I'll look into it. I filed
http://code.google.com/p/android/issues/detail?id=17355 so feel free
to star it to follow along.

thanks!

On Sun, May 29, 2011 at 10:42 PM, Zsolt Vasvari  wrote:
> Since I know Xavier reads this forum.
>
> Tested with all the latest and greatest:
>
> - Open a layout
> - "Save as" a different name
> - Edit the new layout's XML
> - Switch to the graphical viewer
> - The graphical viewer is still showing the old layout from before
> "Save as"
> - To get the new layout to display, you need to close the file and
> reopen it
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: All Renderscript samples fail to run on actual device (Samsung Galaxy Tab 10.1 'google io edition')

2011-06-01 Thread Xavier Ducrohet
we've now pushed a new platform-tools component (revision 5) that
fixes the problem (or at least half of it, the other half is to make
sure apps targeting 3.1+ use the new compiler instead of the old one,
but this is a tools update).

Xav

On Sat, May 28, 2011 at 10:35 PM, Xavier Ducrohet  wrote:
> No, the 3.1 r2 SDK fixes an issue with the rendering library used in
> the UI builder in Eclipse.
> The renderscript compiler is not part of the platform component but of
> the platform tools component which is used by all platforms.
>
> I'm planning on pushing an updated platform-tools component on Tuesday
> if I can fix the remaining issues.
>
> On Fri, May 27, 2011 at 7:42 PM, Zsolt Vasvari  wrote:
>> Is the SDK 3.1 V2 just released related to this?
>>
>> On May 28, 7:25 am, Xavier Ducrohet  wrote:
>>> oops wrong links. Here are the good ones:
>>>
>>> https://dl-ssl.google.com/android/repository/platform-tools_r03-windo...https://dl-ssl.google.com/android/repository/platform-tools_r03-macos...https://dl-ssl.google.com/android/repository/platform-tools_r03-linux...
>>>
>>>
>>>
>>>
>>>
>>> On Fri, May 27, 2011 at 4:24 PM, Xavier Ducrohet  wrote:
>>> > hey, we found an issue in the packaging that are delaying things.
>>>
>>> > However, here's a workaround, by downloading the previous
>>> > platform-tools, revision 03, which contains the compiler we used in
>>> > 3.0
>>>
>>> > Links:
>>> >https://dl-ssl.google.com/android/repository/platform-tools_r04-windo...
>>> >https://dl-ssl.google.com/android/repository/platform-tools_r04-macos...
>>> >https://dl-ssl.google.com/android/repository/platform-tools_r04-linux...
>>>
>>> > Download, unarchive and replace the existing folder at 
>>> > /platform-tools
>>>
>>> > Sorry for the inconvenience.
>>> > Xav
>>>
>>> > On Fri, May 27, 2011 at 3:32 PM, Streets Of Boston
>>> >  wrote:
>>> >> Hi Xav,
>>>
>>> >> Were you able to deploy a fix?
>>>
>>> >> --
>>> >> You received this message because you are subscribed to the Google
>>> >> Groups "Android Developers" group.
>>> >> To post to this group, send email to android-developers@googlegroups.com
>>> >> To unsubscribe from this group, send email to
>>> >> android-developers+unsubscr...@googlegroups.com
>>> >> For more options, visit this group at
>>> >>http://groups.google.com/group/android-developers?hl=en
>>>
>>> > --
>>> > Xavier Ducrohet
>>> > Android SDK Tech Lead
>>> > Google Inc.
>>> >http://developer.android.com|http://tools.android.com
>>>
>>> > Please do not send me questions directly. Thanks!
>>>
>>> --
>>> Xavier Ducrohet
>>> Android SDK Tech Lead
>>> Google Inc.http://developer.android.com|http://tools.android.com
>>>
>>> Please do not send me questions directly. Thanks!- Hide quoted text -
>>>
>>> - Show quoted text -
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>>
>
>
>
> --
> Xavier Ducrohet
> Android SDK Tech Lead
> Google Inc.
> http://developer.android.com | http://tools.android.com
>
> Please do not send me questions directly. Thanks!
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: All Renderscript samples fail to run on actual device (Samsung Galaxy Tab 10.1 'google io edition')

2011-05-28 Thread Xavier Ducrohet
No, the 3.1 r2 SDK fixes an issue with the rendering library used in
the UI builder in Eclipse.
The renderscript compiler is not part of the platform component but of
the platform tools component which is used by all platforms.

I'm planning on pushing an updated platform-tools component on Tuesday
if I can fix the remaining issues.

On Fri, May 27, 2011 at 7:42 PM, Zsolt Vasvari  wrote:
> Is the SDK 3.1 V2 just released related to this?
>
> On May 28, 7:25 am, Xavier Ducrohet  wrote:
>> oops wrong links. Here are the good ones:
>>
>> https://dl-ssl.google.com/android/repository/platform-tools_r03-windo...https://dl-ssl.google.com/android/repository/platform-tools_r03-macos...https://dl-ssl.google.com/android/repository/platform-tools_r03-linux...
>>
>>
>>
>>
>>
>> On Fri, May 27, 2011 at 4:24 PM, Xavier Ducrohet  wrote:
>> > hey, we found an issue in the packaging that are delaying things.
>>
>> > However, here's a workaround, by downloading the previous
>> > platform-tools, revision 03, which contains the compiler we used in
>> > 3.0
>>
>> > Links:
>> >https://dl-ssl.google.com/android/repository/platform-tools_r04-windo...
>> >https://dl-ssl.google.com/android/repository/platform-tools_r04-macos...
>> >https://dl-ssl.google.com/android/repository/platform-tools_r04-linux...
>>
>> > Download, unarchive and replace the existing folder at /platform-tools
>>
>> > Sorry for the inconvenience.
>> > Xav
>>
>> > On Fri, May 27, 2011 at 3:32 PM, Streets Of Boston
>> >  wrote:
>> >> Hi Xav,
>>
>> >> Were you able to deploy a fix?
>>
>> >> --
>> >> You received this message because you are subscribed to the Google
>> >> Groups "Android Developers" group.
>> >> To post to this group, send email to android-developers@googlegroups.com
>> >> To unsubscribe from this group, send email to
>> >> android-developers+unsubscr...@googlegroups.com
>> >> For more options, visit this group at
>> >>http://groups.google.com/group/android-developers?hl=en
>>
>> > --
>> > Xavier Ducrohet
>> > Android SDK Tech Lead
>> > Google Inc.
>> >http://developer.android.com|http://tools.android.com
>>
>> > Please do not send me questions directly. Thanks!
>>
>> --
>> Xavier Ducrohet
>> Android SDK Tech Lead
>> Google Inc.http://developer.android.com|http://tools.android.com
>>
>> Please do not send me questions directly. Thanks!- Hide quoted text -
>>
>> - Show quoted text -
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: All Renderscript samples fail to run on actual device (Samsung Galaxy Tab 10.1 'google io edition')

2011-05-27 Thread Xavier Ducrohet
oops wrong links. Here are the good ones:

https://dl-ssl.google.com/android/repository/platform-tools_r03-windows.zip
https://dl-ssl.google.com/android/repository/platform-tools_r03-macosx.zip
https://dl-ssl.google.com/android/repository/platform-tools_r03-linux.zip


On Fri, May 27, 2011 at 4:24 PM, Xavier Ducrohet  wrote:
> hey, we found an issue in the packaging that are delaying things.
>
> However, here's a workaround, by downloading the previous
> platform-tools, revision 03, which contains the compiler we used in
> 3.0
>
> Links:
> https://dl-ssl.google.com/android/repository/platform-tools_r04-windows.zip
> https://dl-ssl.google.com/android/repository/platform-tools_r04-macosx.zip
> https://dl-ssl.google.com/android/repository/platform-tools_r04-linux.zip
>
> Download, unarchive and replace the existing folder at /platform-tools
>
> Sorry for the inconvenience.
> Xav
>
> On Fri, May 27, 2011 at 3:32 PM, Streets Of Boston
>  wrote:
>> Hi Xav,
>>
>> Were you able to deploy a fix?
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
>
>
> --
> Xavier Ducrohet
> Android SDK Tech Lead
> Google Inc.
> http://developer.android.com | http://tools.android.com
>
> Please do not send me questions directly. Thanks!
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: All Renderscript samples fail to run on actual device (Samsung Galaxy Tab 10.1 'google io edition')

2011-05-27 Thread Xavier Ducrohet
hey, we found an issue in the packaging that are delaying things.

However, here's a workaround, by downloading the previous
platform-tools, revision 03, which contains the compiler we used in
3.0

Links:
https://dl-ssl.google.com/android/repository/platform-tools_r04-windows.zip
https://dl-ssl.google.com/android/repository/platform-tools_r04-macosx.zip
https://dl-ssl.google.com/android/repository/platform-tools_r04-linux.zip

Download, unarchive and replace the existing folder at /platform-tools

Sorry for the inconvenience.
Xav

On Fri, May 27, 2011 at 3:32 PM, Streets Of Boston
 wrote:
> Hi Xav,
>
> Were you able to deploy a fix?
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: All Renderscript samples fail to run on actual device (Samsung Galaxy Tab 10.1 'google io edition')

2011-05-26 Thread Xavier Ducrohet
not really, unfortunately.

We have the fix ready, I just need to package it and deploy it. Based
on the current time, it'll be tomorrow morning PST.

On Thu, May 26, 2011 at 11:37 AM, Streets Of Boston
 wrote:
> Thank you Xavier!
> Is there anything we could do manually, e.g. manual code change in the
> samples to make the 'buggy' compiler create a proper run-time, to
> temporarily fix this issue ourselves?
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: All Renderscript samples fail to run on actual device (Samsung Galaxy Tab 10.1 'google io edition')

2011-05-26 Thread Xavier Ducrohet
hey everyone, sorry I guess I missed this other thread.

We have identified an issue with the compiler shipping with the 3.1
SDK that make the output fail to run in 3.0
I'm working on a fix now.

On Thu, May 26, 2011 at 11:18 AM, Streets Of Boston
 wrote:
> Let's hope not, but if it is, I hope it would be fixed by the 3.1 update (is
> it coming soon to the Google IO edition of the tab?). ;-)
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] NoClassDefFoundError thrown when an Android project references Eclipse project where project layout is set to "project folder as root for sources and class files layout"

2011-05-20 Thread Xavier Ducrohet
The only possible workaround is to export the referenced project as a
jar file and use that in the android project.

I've seen the bug you filed and will be looking at it to see what's up
in our builder (thanks for providing a test project too!)

thanks
Xav

On Thu, May 19, 2011 at 1:35 PM, Anar Huseynov  wrote:
> I have noticed a bug like behavior when an Android project is referencing
> other Java project with project layout where .java and .class files reside
> in the same package  (First option "Use project folder as root for sources
> and class files" in project layout section when one creates a new Java
> project in Eclipse) as opposed to separate src and bin folders (second and
> default option "Create separate folders for sources and class files" for new
> java projects).  In this case, the application would compile just fine in
> Eclipse but when it runs, it would throw NoClassDefFoundError exception when
> any class in the referenced project is used.  This behavior is not observed
> when a referenced project is created using the second option.  I have
> attached a zip file with 3 sample projects that exhibit this problem.  If
> one changes the reference in AndroidLayoutTest project from
> FailingLayoutTest to WorkingLayoutTest, the exception would not be thrown
> when application starts.  Both FailingLayoutTest and WorkingLayoutTest
> contain identical java files.
>
> In my case, my Android project is referencing a big Eclipse project created
> using the first option so changing the project layout is not an option.
> However, I have to reference certain classes in order to develop my Android
> application.  Does anybody know how to workaround this problem?  I know that
> Android projects are using special Android builders. Is there any way to
> look how they work and possible fix them to work properly with the first
> layout option?
>
> Thanks,
> Anar
> --
> Anar Huseynov
> Master of Software Engineering Program (MSE)
> School of Computer Science (SCS)
> Carnegie Mellon University
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Signing in debug mode

2011-05-18 Thread Xavier Ducrohet
The only thing the --debug-mode parameters is doing is inserting
"debuggable=true" in the manifest. (see the aapt help output)

Note that the command line you showed only packages the resources in
the apk. You'll need to add classes.dex manually to it, as well as any
other file you may need (java resources, native libraries).

Our command line build is complex, this is why we provide a full Ant
rules file. I encourage you to use it, or at a minimum to look at it
if you want to build your own build system.

Xav

On Tue, May 17, 2011 at 9:25 PM, bburd  wrote:
> I'm trying to use command line tools to develop an Android app. I'm
> calling aapt as follows:
>
> "C:\Program Files (x86)\Android\android-sdk\platform-tools\aapt.exe"
> package -f --debug-mode -M C:\MyProjects\MyAndroidProject
> \AndroidManifest.xml -S C:\MyProjects\MyAndroidProject\res -I "C:
> \Program Files (x86)\Android\android-sdk\platforms
> \android-9\android.jar" -F C:\MyProjects\MyAndroidProject\bin
> \MyActivity-debug-unaligned.apk
>
> I assume that, because I've specified --debug-mode, aapt will attach a
> debug certificate, making my app runnable on an emulator. But I keep
> getting the message
> Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]
>
> How can I diagnose the problem?
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Eclipse/ADT not rebuilding correctly

2011-05-09 Thread Xavier Ducrohet
interesting. I've been playing with Eclipse 3.6.2 recently and saw
this quite a bit, but I never see it with Eclipse 3.5.2 which is my
main development version.
I'll do more testing after IO to see what's up.

Xav

On Sat, May 7, 2011 at 2:52 PM, Kamil  wrote:
> I've noticed this issue not working with Android SDK but with J2EE
> project. In my case turning off autobuild option and cleaning whole
> project fixed problem. After this few steps automatic build can be
> switched to on again. I think this is IDE bug, so it should be
> reported to eclipse developers.
>
> On 7 Maj, 19:45, snpe  wrote:
>> Can anybody reproduce this issue on Linux ?
>>
>> On May 5, 4:59 pm, Jake Basile  wrote:
>>
>> > This problem has not gone away, and is getting worse. I need to fully
>> > restart eclipse so often now to get it to use my new code that I do it 
>> > about
>> > 15 times a day.
>>
>> > Incredibly frustrating, and a waste of my time.
>>
>>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Eclipse/ADT not rebuilding correctly

2011-04-13 Thread Xavier Ducrohet
You mention Ganymede which is Eclipse 3.4 which is not supported
anymore. you need to move to 3.5+
It could impact the build, can you look at the workspace log to see if
a strange exception happened?

Also, is your workspace on auto-refresh?

On Wed, Apr 13, 2011 at 12:44 PM, MarcoAndroid  wrote:
> I've seen this too recently since I started using android-sdk_r10-
> windows on Windows XP 32b.
> Started with a fresh install last week, brandnew laptop. I've got it
> about 10 times a day.
>
> - Eclipse (adt/sdk) sometimes doesn't detect a change in a layout XML
> file. When the main activity is restarted I get a weird exception,
> usually nullptr because some findViewById() returns null though that
> view-component is exactly the same as before the change! I did add
> some *other* view component in the xml though. I have to do a clean of
> the project to get it fixed.
> - Also had already one  time that the app showed completely incorrect
> messages from myapp.R.string.*; it was just picking the wrong ids!
> Again a project clean made it (eclipse/adt/sdk?) show the correct
> string texts.
>
> Basically it is not always correctly detecting changed files.
>
> Note that this is not happening on my older Ganymede installed sdk r6
> (up to 2.2) on XP 64b, never noticed it before.
>
> PS: no problems with cleaning the project, gen is always generated
> correctly again
>
> On 13 apr, 09:39, Jake Basile  wrote:
>> I started noticing this problem about two weeks ago, but it's hard to nail
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Android Layouts Are Horrible

2011-04-05 Thread Xavier Ducrohet
I'm sure this is possible.

We would also like have templates in Eclipse so that you can create a
new layout with some pre-built items arranged in different ways.

We know that sometimes it's not easy to make the layouts do what you
want and we are working on making this easier.

Xav

On Tue, Apr 5, 2011 at 6:31 PM, Leo  wrote:
>
> Is it possible to address the lack of examples in samples section on
> layouts in future releases? I spent two days trying to figure how to
> put 4 large images into a 2x2 grid for option selection in my first
> app that I am working on. Granted my UI experience is next to NIL but
> such things should be a breeze if there are illustrative examples in
> the SDK.
>
> It would be great to see 20-40 layout examples with images and
> animation etc illustrating various aspects of the layouts. The other
> parts of the online android  framework documentation is vast and very
> helpful, but layout attributes are like hit or miss for non UI
> (basically java only) developers like me.
>
> Thanks.
>
> On Apr 5, 3:20 pm, Xavier Ducrohet  wrote:
>> Our layout editors in Eclipse have been somewhat low priority for a
>> long time but we are now focusing some effort on it. You may have seen
>> that ADT 10 includes a lot of new features and we have more coming for
>> the next versions.
>>
>> We are working on:
>> - better interactivity in the editor itself.
>> - better integration into Eclipse (*much* better autocompletion in the
>> XML editor, quick assist, refactoring, go to declaration)
>> - better rendering (3.0 is a huge step in the right direction already,
>> but we're adding some improvements and back porting it to earlier
>> versions)
>> - new features to help you designlayouts(extract as include
>> refactoring, show included in, data in listviews, etc...)
>>
>> If you want to follow our progress you can look 
>> athttp://tools.android.com/recent
>>
>> As someone said, this is open source, and worked on directly in the
>> open (you can go 
>> tohttp://android.git.kernel.org/?p=platform/sdk.git;a=summaryto see the
>> latest changes or 
>> tohttps://review.source.android.com//#q,status:open+project:platform/sd...
>> to see pending changes), and while we aren't forcing (or expecting)
>> anyone to contribute, if you feel passionate about tools and want to
>> contribute, please let us know (seehttp://tools.android.com/feedback)
>>
>> thanks,
>> Xav
>> --
>> Xavier DucrohetAndroidSDK Tech Lead
>> Google Inc.http://developer.android.com|http://tools.android.com
>>
>> Please do not send me questions directly. Thanks!
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Android Layouts Are Horrible

2011-04-05 Thread Xavier Ducrohet
Our layout editors in Eclipse have been somewhat low priority for a
long time but we are now focusing some effort on it. You may have seen
that ADT 10 includes a lot of new features and we have more coming for
the next versions.

We are working on:
- better interactivity in the editor itself.
- better integration into Eclipse (*much* better autocompletion in the
XML editor, quick assist, refactoring, go to declaration)
- better rendering (3.0 is a huge step in the right direction already,
but we're adding some improvements and back porting it to earlier
versions)
- new features to help you design layouts (extract as include
refactoring, show included in, data in listviews, etc...)

If you want to follow our progress you can look at
http://tools.android.com/recent

As someone said, this is open source, and worked on directly in the
open (you can go to
http://android.git.kernel.org/?p=platform/sdk.git;a=summary to see the
latest changes or to
https://review.source.android.com//#q,status:open+project:platform/sdk,n,z
to see pending changes), and while we aren't forcing (or expecting)
anyone to contribute, if you feel passionate about tools and want to
contribute, please let us know (see http://tools.android.com/feedback)

thanks,
Xav
-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Finding ant_rules_r3.xml?

2011-03-30 Thread Xavier Ducrohet
As Mark said, the files have moved and were renamed.

ant_rules_r#.xml used to be in the platform folder, but they are now
in the tools folder under ant/

This is because we can now have a single rule file to compile against
any platform.

The custom Ant task "setup" (com.android.ant.SetupTask) should be able
to import the right file automatically.

you really don't want to refer to the rules files manually. You really
want to let the setup task do the import for you.

Xav

On Tue, Mar 29, 2011 at 12:55 PM, Danny D  wrote:
> Hi,
>
> I'm working on a continuous integration system (Hudson) and I'm trying
> to debug some existing build configurations.
>
> I'm looking for the "ant_rules_r3.xml" file that's described in a
> number of posts and trying to determine how it's configured.
>
> I'm not finding these in any of the android-sdk locations that are
> listed.
>
> Here are my questions:
>
> Is there supposed to be an "ant_rules_r3.xml" file included in the
> android-sdk package?
>
> Are these generated ( I was able to generate a build.xml file for an
> existing project, but no ant_rules_r3.xml file).
>
> Where are they located and how are they configured?
>
>
> Thanks,
>
> DD
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Jar with resources like android.jar

2011-03-29 Thread Xavier Ducrohet
You can't (right now).

android.jar is special because these are the framework resources that
exist on the device. Android.jar is not bundled with your project's
code and resources, and the resources in android.jar are not part of
your application's R class.

A Jar with resources that is meant to be added to an existing project
needs to be able to merge its resources with the project's own
resources. This impacts the resources ID generated in the project's R
class in a way that makes the R.*.* ID used to compile the jar
obsolete. Since those constants are inlined, any code in the jar file
that reference the resources will be broken as the IDs are different
in the final APK.
This is why the library projects in the SDK are source only.

I'm working on a solution that may fix this but no ETA at the moment.

Xav

On Tue, Mar 29, 2011 at 7:52 AM, Jordan 5222
 wrote:
> Can someone of the Android team give me a hint? Or just a "no you can't",
> but i don't understand why.
>
> 2011/3/28 Mark Murphy 
>>
>> On Mon, Mar 28, 2011 at 8:56 AM, Jordan 5222
>>  wrote:
>> > Thank you for the reply, Mark.
>> > Any hint where to study how android.R class works?
>> > I suppose that it's generated when we compile the entire Android system,
>> > in
>> > a similar way of the standard R class, but it takes a "photo" of system
>> > resources.
>>
>> Since the values must not change from release to release of Android, I
>> suspect the process is more involved than that. However, I have no
>> idea where you should look for details, or even if there are any
>> details beyond the source code.
>>
>> --
>> Mark Murphy (a Commons Guy)
>> http://commonsware.com | http://github.com/commonsguy
>> http://commonsware.com/blog | http://twitter.com/commonsguy
>>
>> Android Training in NYC: http://marakana.com/training/android/
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
>
>
> --
> Jordan - http://www.lulz-industries.org
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Updated to 10.0.1 - layout editor no longer working

2011-03-17 Thread Xavier Ducrohet
As indicated on the bug reporting this, it looks like you are using the
honeycomb preview which is not compatible with adt anymore. Just uninstall
it and use the final 3.0.

Xav
On Mar 16, 2011 10:29 PM, "Stacy Young"  wrote:
> After updating ADT I can no longer launch the layout editor. (tried
eclipse
> 3.6 and 3.6)
> Anyone know of a workaround?
>
> Bug filed:
> http://code.google.com/p/android/issues/detail?id=15568
>
> Exception from Eclipse log:
>
> !ENTRY org.eclipse.ui 4 0 2011-03-17 00:53:41.233
> !MESSAGE Unhandled event loop exception
> !STACK 0
> java.lang.NoSuchFieldError: TRANSPARENCY
> at com.android.layoutlib.bridge.Bridge.init(Bridge.java:189)
> at
com.android.ide.common.rendering.LayoutLibrary.init(LayoutLibrary.java:248)
> at
com.android.ide.eclipse.adt.internal.sdk.AndroidTargetData.getLayoutLibrary(AndroidTargetData.java:255)
> at
com.android.ide.eclipse.adt.internal.editors.layout.gle2.GraphicalEditorPart.updateCapabilities(GraphicalEditorPart.java:951)
> at
com.android.ide.eclipse.adt.internal.editors.layout.gle2.GraphicalEditorPart.onTargetChange(GraphicalEditorPart.java:943)
> at
com.android.ide.eclipse.adt.internal.editors.layout.LayoutEditor.onDescriptorsChanged(LayoutEditor.java:549)
> at
com.android.ide.eclipse.adt.internal.editors.layout.LayoutEditor.initUiRootNode(LayoutEditor.java:471)
> at
com.android.ide.eclipse.adt.internal.editors.layout.LayoutEditor.xmlModelChanged(LayoutEditor.java:295)
> at
com.android.ide.eclipse.adt.internal.editors.AndroidXmlEditor$XmlModelStateListener.modelChanged(AndroidXmlEditor.java:1213)
> at
com.android.ide.eclipse.adt.internal.editors.AndroidXmlEditor.createTextEditor(AndroidXmlEditor.java:625)
> at
com.android.ide.eclipse.adt.internal.editors.AndroidXmlEditor.createAndroidPages(AndroidXmlEditor.java:222)
> at
com.android.ide.eclipse.adt.internal.editors.AndroidXmlEditor.addPages(AndroidXmlEditor.java:212)
> at org.eclipse.ui.forms.editor.FormEditor.createPages(FormEditor.java:138)
> at
org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:348)
> at
org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:670)
> at
org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:465)
> at
org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
> at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:313)
> at
org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180)
> at
org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:270)
> at
org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
> at
org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:473)
> at
org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1254)
> at
org.eclipse.ui.internal.PartStack.handleDeferredEvents(PartStack.java:1222)
> at org.eclipse.ui.internal.LayoutPart.deferUpdates(LayoutPart.java:400)
> at
org.eclipse.ui.internal.PartSashContainer.handleDeferredEvents(PartSashContainer.java:1409)
> at org.eclipse.ui.internal.LayoutPart.deferUpdates(LayoutPart.java:400)
> at
org.eclipse.ui.internal.WorkbenchPage.handleDeferredEvents(WorkbenchPage.java:1420)
> at
org.eclipse.ui.internal.WorkbenchPage.deferUpdates(WorkbenchPage.java:1410)
> at
org.eclipse.ui.internal.WorkbenchPage.closeEditors(WorkbenchPage.java:1384)
> at
org.eclipse.ui.internal.WorkbenchPage.closeEditor(WorkbenchPage.java:1439)
> at org.eclipse.ui.internal.EditorPane.doHide(EditorPane.java:61)
> at org.eclipse.ui.internal.PartStack.close(PartStack.java:541)
> at org.eclipse.ui.internal.EditorStack.close(EditorStack.java:206)
> at org.eclipse.ui.internal.PartStack$1.close(PartStack.java:120)
> at
org.eclipse.ui.internal.presentations.util.TabbedStackPresentation$1.handleEvent(TabbedStackPresentation.java:83)
> at
org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:269)
> at
org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:278)
> at
org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder.access$1(DefaultTabFolder.java:1)
> at
org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder$1.closeButtonPressed(DefaultTabFolder.java:71)
> at
org.eclipse.ui.internal.presentations.PaneFolder.notifyCloseListeners(PaneFolder.java:631)
> at
org.eclipse.ui.internal.presentations.PaneFolder$3.close(PaneFolder.java:206)
> at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:1595)
> at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:261)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3783)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1375)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1398)

Re: [android-developers] Re: Eclipse wont regenerate files since downloading the 2.3 SDK

2011-03-15 Thread Xavier Ducrohet
Can you enable verbose build output (in the Eclipse preferences under
Android > Build), force a compile and see what's dumped in the console
view?

On Tue, Mar 15, 2011 at 6:46 AM, Donal Rafferty  wrote:
> Bit of an update on this, I'm still stuck on it and have noticed some
> curious issues.
>
> My project was started back in 1.5 SDK so my resources only had the one
> drawables folder so I created the three -mdpi,-ldpi, -hdpi folders and put
> my drawables in -mdpi.
>
> I was hoping this would be it but it wasn't R.java still wont regenerate.
>
> Is there anything I need in my manifest for the new folders or anything that
> needs to be changed like that for the new project setup?
>
> Also I've noticed if I create a new project and copy over just my Resources
> and build the R.java file generates fine and I can then copy it back into my
> proper project and it works by just matching up the package.
> However if I create a new project and add the resources and then also my
> source files then R.java wont generate and neither will any of my .aidl
> files.
>
> Which seems really strange to me, has anyone got any ideas taking into
> account the new info as to what could be happening?
>
> On Fri, Mar 11, 2011 at 4:19 AM, 曾少彬  wrote:
>>
>> Hi,
>>
>>
>> I met a similar situation, and it was fixed by removing "import
>> android.R;", though I really don't know why android.R was imported.
>>
>> With "android.R", java files won't be able to read local resources
>> properly.  I'm not sure if you're meeting the same thing..
>>
>> Best Regards!
>>
>>
>>
>> > Date: Thu, 10 Mar 2011 20:00:13 -0800
>> > Subject: [android-developers] Re: Eclipse wont regenerate files since
>> > downloading the 2.3 SDK
>> > From: zvasv...@gmail.com
>> > To: android-developers@googlegroups.com
>> >
>> > Yes, this is exactly what I have to do. I don't think it's anything
>> > on our side of things, but who knows.
>> >
>> > On Mar 11, 9:51 am, Ed Burnette  wrote:
>> > > Sometimes I have to edit something innocuous in the xml file and in
>> > > a .java file and save it (with build automatically set) to get a clean
>> > > build. Project > Clean usually works but when it doesn't, the modify-
>> > > and-save trick usually works. Changing the Android build target
>> > > temporarily might jostle something loose too. I really wish all the
>> > > little oddities like this could be ironed out but I have no time to
>> > > try and fix it myself.
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups "Android Developers" group.
>> > To post to this group, send email to android-developers@googlegroups.com
>> > To unsubscribe from this group, send email to
>> > android-developers+unsubscr...@googlegroups.com
>> > For more options, visit this group at
>> > http://groups.google.com/group/android-developers?hl=en
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] XOOM

2011-03-11 Thread Xavier Ducrohet
As Mark said, Motorola distribute the Xoom drivers.

The android drivers are only for developer and nexus devices.

Each manufacturers provides drivers for their own devices. Find the
manufacturer links at http://developer.android.com/sdk/oem-usb.html

Xav

On Fri, Mar 11, 2011 at 5:08 PM, J Handal  wrote:
>> Mark,
>
>
>  Only modified android_winusb.inf will enable you to install the Android
> Composite ADB Interface.
>
> ;NVIDIA Tegra
>
> %SingleAdbInterface% = USB_Install, USB\VID_0955&PID_7000
>
> %CompositeAdbInterface% = USB_Install, USB\VID_0955&PID_7100&MI_01
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: java.lang.NullPointerException encountered while running Android Pre Compiler.

2011-03-11 Thread Xavier Ducrohet
As we mention, you need to update to Eclipse 3.5.

On Fri, Mar 11, 2011 at 4:06 AM, Dato  wrote:
> hi,
>
> I have the same issue. I'm using ADT10.0.0, eclipse3.4 on MacOsx
>
>
> --
> !ENTRY org.eclipse.ui 2 0 2011-03-11 19:59:38.453
> !MESSAGE Build problems
> !SUBENTRY 1 org.eclipse.core.resources 2 75 2011-03-11 19:59:38.453
> !MESSAGE Errors during build.
> !SUBENTRY 2 com.android.ide.eclipse.adt 2 75 2011-03-11 19:59:38.453
> !MESSAGE Errors running builder 'Android Pre Compiler' on project
> 'SharePrice'.
> !SUBENTRY 2 com.android.ide.eclipse.adt 2 75 2011-03-11 19:59:38.453
> !MESSAGE java.lang.NullPointerException encountered while running
> Android Pre Compiler.
> !STACK 0
> java.lang.NullPointerException
>        at
> com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder.build(PreCompilerBuilder.java:
> 198)
>        at org.eclipse.core.internal.events.BuildManager
> $2.run(BuildManager.java:633)
>        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
>        at
> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> 170)
>        at
> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> 201)
>        at org.eclipse.core.internal.events.BuildManager
> $1.run(BuildManager.java:253)
>        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
>        at
> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> 256)
>        at
> org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:
> 309)
>        at
> org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:
> 341)
>        at org.eclipse.core.internal.resources.Workspace.build(Workspace.java:
> 330)
>        at org.eclipse.ui.actions.GlobalBuildAction
> $1.run(GlobalBuildAction.java:182)
>        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Aapt.exe keeps crashing with ADT 10.

2011-03-10 Thread Xavier Ducrohet
The NPE indicates that your project is configured with some source
folders that don't actually exist.

Do you have a gen folder? Eclipse should create it if it's not there,
but it could not be there maybe?

I'll guard against the NPE (https://review.source.android.com/21721 )
but if it's gen that cannot be created something else might be going
on.

Xav

On Thu, Mar 10, 2011 at 4:27 PM, Nathan  wrote:
> Since ADT 10, I have been trying to get a build to work with Eclipse
> for a week now. It is getting extremely frustrating.
>
> I installed Eclipse 3.6.2 as instructed. I installed ADT 10. I
> recreated a library project from existing source. I got that to
> build.
>
> Now I tried creating a project that depends on said library - also
> from existing source.  Won't build because it won't generate the R
> file - again.
>
> Now, aapt is crashing frequently.
>
> I keep getting "aapt has failed. Windows is searching for a solution
> to the problem."
>
> When I check the error log, I get the error below.
>
> Nathan
>
> java.lang.NullPointerException
>        at
> com.android.ide.eclipse.adt.internal.build.AidlProcessor.doCompileFiles(AidlProcessor.java:
> 108)
>        at
> com.android.ide.eclipse.adt.internal.build.SourceProcessor.compileFiles(SourceProcessor.java:
> 242)
>        at
> com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder.build(PreCompilerBuilder.java:
> 476)
>        at org.eclipse.core.internal.events.BuildManager
> $2.run(BuildManager.java:629)
>        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
>        at
> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> 172)
>        at
> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> 203)
>        at org.eclipse.core.internal.events.BuildManager
> $1.run(BuildManager.java:255)
>        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
>        at
> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> 258)
>        at
> org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:
> 311)
>        at
> org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:
> 343)
>        at
> org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:
> 144)
>        at
> org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:
> 242)
>        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Lost libraries after updating ADT and SDK

2011-03-08 Thread Xavier Ducrohet
Yes. 3.5+ is fine.

On Tue, Mar 8, 2011 at 5:15 PM, Brad Gies  wrote:
> Is 3.6 ok?
>
> Sincerely,
>
> Brad Gies
> ---
> Bistro Bot - Bistro Blurb
> http://bgies.com            http://nocrappyapps.com
> http://bistroblurb.com      http://forcethetruth.com
> http://ihottonight.com
> ---
> Everything in moderation, including abstinence (paraphrased)
>
> Every person is born with a brain... Those who use it well are the
> successful happy ones - Brad Gies
>
> Adversity can make or break you... It's your choice... Choose wisely - Brad
> Gies
>
> Never doubt that a small group of thoughtful, committed people can
> change the world. Indeed. It is the only thing that ever has - Margaret Mead
>
>
> On 08/03/2011 4:14 PM, Xavier Ducrohet wrote:
>>
>> Would either of you be using Eclipse 3.4 by any chance?
>>
>> ADT now requires 3.5 (we screwed up and the doc wasn't updated), and I
>> think this action uses a method that doesn't exist in 3.4
>>
>> Xav
>>
>> On Tue, Mar 8, 2011 at 3:54 PM, TreKing  wrote:
>>>
>>> On Tue, Mar 8, 2011 at 5:52 PM, Taf  wrote:
>>>>
>>>> Would have been nice if the Add button worked though..
>>>
>>> Seriously. I wasted like 2 hours on something that should have taken 5
>>> seconds.
>>>
>>> -
>>> TreKing - Chicago transit tracking app for Android-powered devices
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Android Developers" group.
>>> To post to this group, send email to android-developers@googlegroups.com
>>> To unsubscribe from this group, send email to
>>> android-developers+unsubscr...@googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/group/android-developers?hl=en
>>
>>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Lost libraries after updating ADT and SDK

2011-03-08 Thread Xavier Ducrohet
There may have been some instabilities when 3.5 was released that was
a while ago.

We clearly screwed up in telling people about the 3.5 requirements.

We're going to prepare a patch to make ADT not install on 3.4 so that
it's more clear, and we'll fix the dev site.

Xav

On Tue, Mar 8, 2011 at 4:29 PM, TreKing  wrote:
> On Tue, Mar 8, 2011 at 6:14 PM, Xavier Ducrohet  wrote:
>>
>> Would either of you be using Eclipse 3.4 by any chance?
>
> Yup.
>
>>
>> ADT now requires 3.5 (we screwed up and the doc wasn't updated), and
>> I think this action uses a method that doesn't exist in 3.4
>
> Interesting. I thought 3.5 was "unstable" with Android ... ? And did I miss
> an announcement? I was unawares, clearly.
> Man, I've been using 3.4 for nearly 2 years now. I just know this is going
> to be painful ... :-(
> -----
> TreKing - Chicago transit tracking app for Android-powered devices
>
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Lost libraries after updating ADT and SDK

2011-03-08 Thread Xavier Ducrohet
Would either of you be using Eclipse 3.4 by any chance?

ADT now requires 3.5 (we screwed up and the doc wasn't updated), and I
think this action uses a method that doesn't exist in 3.4

Xav

On Tue, Mar 8, 2011 at 3:54 PM, TreKing  wrote:
> On Tue, Mar 8, 2011 at 5:52 PM, Taf  wrote:
>>
>> Would have been nice if the Add button worked though..
>
> Seriously. I wasted like 2 hours on something that should have taken 5
> seconds.
> -
> TreKing - Chicago transit tracking app for Android-powered devices
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Best Eclipse Version.

2011-03-07 Thread Xavier Ducrohet
by both I meant 3.5/3.6. I would avoid 3.7 until it goes final (or
even wait for 3.7.1/2)

On Mon, Mar 7, 2011 at 10:17 PM, Xavier Ducrohet  wrote:
> both should be ok. Early versions are always a bit buggy, but 3.6.1/2
> should work better than straight 3.6
> That said 3.5.2 works fine. Make sure you get a simple version
> (Eclipse for Java dev for instance). No need to get one that has a lot
> of useless plug-ins.
>
> Xav
>
> On Mon, Mar 7, 2011 at 8:28 PM, Nathan  wrote:
>> I probably to reinstall Eclipse, so I wanted soem advice on teh best
>> version.
>>
>> I've had 3.4.
>>
>> Some comments from others at Andevcon suggest that performance gets
>> worse with 3.6 and 3.7. So is 3.5 Classic the best ever?
>>
>> Thanks
>>
>> Nathan
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>>
>
>
>
> --
> Xavier Ducrohet
> Android SDK Tech Lead
> Google Inc.
> http://developer.android.com | http://tools.android.com
>
> Please do not send me questions directly. Thanks!
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Best Eclipse Version.

2011-03-07 Thread Xavier Ducrohet
both should be ok. Early versions are always a bit buggy, but 3.6.1/2
should work better than straight 3.6
That said 3.5.2 works fine. Make sure you get a simple version
(Eclipse for Java dev for instance). No need to get one that has a lot
of useless plug-ins.

Xav

On Mon, Mar 7, 2011 at 8:28 PM, Nathan  wrote:
> I probably to reinstall Eclipse, so I wanted soem advice on teh best
> version.
>
> I've had 3.4.
>
> Some comments from others at Andevcon suggest that performance gets
> worse with 3.6 and 3.7. So is 3.5 Classic the best ever?
>
> Thanks
>
> Nathan
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: java.lang.NullPointerException encountered while running Android Pre Compiler.

2011-03-07 Thread Xavier Ducrohet
ugh, we'll fix this asap.

Xav

On Mon, Mar 7, 2011 at 9:14 PM, Nathan  wrote:
> Well, then that would be part of the problem,
>
> I don't see anywhere that that is documented, though. The installation
> page still mentions 3.4.
>
> Nathan
>
> On Mar 7, 9:06 pm, Tor Norbye  wrote:
>> ADT 10 requires Eclipse 3.5 or later.
>>
>> -- Tor
>> On Mar 7, 2011 9:01 PM, "Nathan"  wrote:
>>
>>
>>
>>
>>
>>
>>
>> > I'd like to try it, but there isn't Help > Install New Software...
>> > menu item on my eclipse. It seems to want only repositories, not zips.
>> > This is on Eclipse 3.4 in Windows. I'll try on on a later eclipse when
>> > I can.
>>
>> > On Mar 7, 6:05 pm, Xavier Ducrohet  wrote:
>> >> Hey all,
>>
>> >> I've filed bug #15312 to track this issue, and I've just attached to
>> >> it a version of ADT that enable some logging in the method  I suspect
>> >> is not finishing properly.
>>
>> >> I've also moved the line that isn't called (which is the cause of the
>> >> NPE later on) earlier in the method, which will maybe unblock you (but
>> >> I fear that if the rest of the method really isn't running due to an
>> >> exception you'll get another error somewhere else).
>>
>> >> If one of you could run this new ADT and provide me with the workspace
>> >> log, I'll be able to track what's going on and fix it ASAP.
>>
>> >> thanks
>>
>> >> On Mon, Mar 7, 2011 at 4:20 PM, Xavier Ducrohet  wrote:
>> >> > Hey all,
>>
>> >> > I'm still not sure how this is happening. I'm adding logs to the
>> >> > builder and I'm going to make this version available shortly to
>> >> > understand what is going on since I can't reproduce it locally.
>>
>> >> > Stay tuned, I'm looking at pushing this somewhere else than the normal
>> >> > update site asap.
>>
>> >> > Xav
>>
>> >> > On Mon, Mar 7, 2011 at 2:51 PM, Nathan 
>> wrote:
>> >> >> I would like this to start being treated as a real problem.
>>
>> >> >> I can't even downgrade my ADT. I use revert configuration in ADT and
>> >> >> it has no effect.
>>
>> >> >> Putting a proguard.cfg in the project directory only worked
>> >> >> temporarily. It's broken again.
>>
>> >> >> I'm dead in the water for builds. At this rate, I will never build an
>> >> >> Android app again.
>>
>> >> >> Nathan
>>
>> >> >> --
>> >> >> You received this message because you are subscribed to the Google
>> >> >> Groups "Android Developers" group.
>> >> >> To post to this group, send email to
>>
>> android-developers@googlegroups.com
>>
>>
>>
>>
>>
>>
>>
>> >> >> To unsubscribe from this group, send email to
>> >> >> android-developers+unsubscr...@googlegroups.com
>> >> >> For more options, visit this group at
>> >> >>http://groups.google.com/group/android-developers?hl=en
>>
>> >> > --
>> >> > Xavier Ducrohet
>> >> > Android SDK Tech Lead
>> >> > Google Inc.
>> >> >http://developer.android.com|http://tools.android.com
>>
>> >> > Please do not send me questions directly. Thanks!
>>
>> >> --
>> >> Xavier Ducrohet
>> >> Android SDK Tech Lead
>> >> Google Inc.http://developer.android.com|http://tools.android.com
>>
>> >> Please do not send me questions directly. Thanks!
>>
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups "Android Developers" group.
>> > To post to this group, send email to android-developers@googlegroups.com
>> > To unsubscribe from this group, send email to
>> > android-developers+unsubscr...@googlegroups.com
>> > For more options, visit this group at
>> >http://groups.google.com/group/android-developers?hl=en
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Setting up Android App in Eclipse

2011-03-07 Thread Xavier Ducrohet
Right click the project, choose properties.
In the dialog choose Android on the left. Select an Android platform
as the target for your project.
This should solve most if not all of your issues: having the
default.properties will make the Android plug-in dynamically create a
container with the Android API which will fix b, which will let the
builders run which should fix c. as well (and solve the "Unable to get
System Library" error as well).

On Sat, Mar 5, 2011 at 3:36 AM, maverick.gugu  wrote:
> Hi,
>   i am trying to build an android application in eclipse. My issue in
> detail is as follows:
>
> 1. I first setup the sdk and adt plugin along with the svn for
> eclipse.
> 2. Then I imported an existing svn trunk from (File->Import->Checkout
> projects from SVN).
> 3. Then I face the following errors:
>
>  a. Project has no default.properties file! Edit the project
> properties to set one.
>  b. None of import files are being resolved. It includes java.io, and
> all the basic java classes. I checked the Compiler Compliance level
> too.. It is set to 1.6
>  c. When I check into project properties for the issue, under Java
> Build Path: I find "Build path is entry missing: Projectname/gen"
>     Then in the libraries tab i find: "Unable to get System Library
> for the project".
>
> It would be really nice if some one can throw some light on this
> issue. plz let me know if u need any more description.
>
> Thanks,
> Maverick gugu
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: java.lang.NullPointerException encountered while running Android Pre Compiler.

2011-03-07 Thread Xavier Ducrohet
Hey all,

I've filed bug #15312 to track this issue, and I've just attached to
it a version of ADT that enable some logging in the method  I suspect
is not finishing properly.

I've also moved the line that isn't called (which is the cause of the
NPE later on) earlier in the method, which will maybe unblock you (but
I fear that if the rest of the method really isn't running due to an
exception you'll get another error somewhere else).

If one of you could run this new ADT and provide me with the workspace
log, I'll be able to track what's going on and fix it ASAP.

thanks

On Mon, Mar 7, 2011 at 4:20 PM, Xavier Ducrohet  wrote:
> Hey all,
>
> I'm still not sure how this is happening. I'm adding logs to the
> builder and I'm going to make this version available shortly to
> understand what is going on since I can't reproduce it locally.
>
> Stay tuned, I'm looking at pushing this somewhere else than the normal
> update site asap.
>
> Xav
>
> On Mon, Mar 7, 2011 at 2:51 PM, Nathan  wrote:
>> I would like this to start being treated as a real problem.
>>
>> I can't even downgrade my ADT. I use revert configuration in ADT and
>> it has no effect.
>>
>> Putting a proguard.cfg in the project directory only worked
>> temporarily. It's broken again.
>>
>> I'm dead in the water for builds. At this rate, I will never build an
>> Android app again.
>>
>> Nathan
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>>
>
>
>
> --
> Xavier Ducrohet
> Android SDK Tech Lead
> Google Inc.
> http://developer.android.com | http://tools.android.com
>
> Please do not send me questions directly. Thanks!
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: java.lang.NullPointerException encountered while running Android Pre Compiler.

2011-03-07 Thread Xavier Ducrohet
Hey all,

I'm still not sure how this is happening. I'm adding logs to the
builder and I'm going to make this version available shortly to
understand what is going on since I can't reproduce it locally.

Stay tuned, I'm looking at pushing this somewhere else than the normal
update site asap.

Xav

On Mon, Mar 7, 2011 at 2:51 PM, Nathan  wrote:
> I would like this to start being treated as a real problem.
>
> I can't even downgrade my ADT. I use revert configuration in ADT and
> it has no effect.
>
> Putting a proguard.cfg in the project directory only worked
> temporarily. It's broken again.
>
> I'm dead in the water for builds. At this rate, I will never build an
> Android app again.
>
> Nathan
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Use AndroidDebugBridge and ddmlib in my own desktop application

2011-03-03 Thread Xavier Ducrohet
Hmm this is strange. The Eclipse plug-in basically does that. There
should be no other setup to do.

Do you have the standalone DDMS running?

Xav

On Thu, Mar 3, 2011 at 5:32 PM, Panayotis Katsaloulis
 wrote:
>
> On Mar 4, 2011, at 3:15 AM, Xavier Ducrohet wrote:
>
>> ddmlib has opened that port locally. Are you trying to connect to localhost?
>>
>
> Yes, here is the log if I try with telnet
>
> $ telnet 127.0.0.1 8611
> Trying 127.0.0.1...
> telnet: connect to address 127.0.0.1: Connection refused
> telnet: Unable to connect to remote host
>
> Probably I need to do some other initialization?
>
> Here is the code I used to get the port (all code snippets below are trimmed 
> a bit for presentation purposes):
>
>        AndroidDebugBridge.init(true);
>       AndroidDebugBridge bridge = 
> AndroidDebugBridge.createBridge("PATH_TO_adb", true);
>        AndroidDebugBridge.addClientChangeListener(new 
> AndroidDebugBridge.IClientChangeListener() {
>
>            public void clientChanged(Client client, int i) {
>                if (client != null && client.getClientData() != null && 
> "client.name".equals(client.getClientData().getClientDescription())) {
>                        // ... found port number and report it
>                       PropertyHelper ph = 
> PropertyHelper.getPropertyHelper(getProject());
>                       ph.setProperty("android.debug.port", 
> client.getDebuggerListenPort(), false);
>                }
>            }
>        });
>
>
> Now, here is the (ant)  code I used to launch the application:
>       
>            
>            
>        
>
>
> and here is the code to launch the netbeans debugger:
>        address="${android.debug.port}" transport="dt_socket">
>            
>                
>            
>        
>
>
>
> The only target I used as a dependency is the target "install", from the 
> "vanilla" Android SDK ant build file.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Use AndroidDebugBridge and ddmlib in my own desktop application

2011-03-03 Thread Xavier Ducrohet
ddmlib has opened that port locally. Are you trying to connect to localhost?


On Thu, Mar 3, 2011 at 4:32 PM, Panayotis Katsaloulis
 wrote:
>
> On Mar 3, 2011, at 10:15 PM, Xavier Ducrohet wrote:
>
>> oh wait I just realize you init ddmlib with init(false).
>>
>> the boolean is "client support",  set it to true (and then the 1
>> ddmlib-enabled app restriction will be important).
>
> Wow, you are right!
> By changing to "true", then I can properly see the clients!
> I didn't know I had to use "true" there and there is so little documentation 
> actually.
>
>
>
> I have another problem now.
>
> I am using
> client.getDebuggerListenPort()
> to get the actual debug port, so that I can directly attach Netbeans debugger.
> The debug port I get is (usually) 8610.
> When I try to attach java debugger though, I get an 
> java.net.ConnectException: Connection refused error
> I checked (with telnet) if this port is open, and it isn't.
>
> I even tried something like
> adb forward tcp:8000 tcp:8610
> if I needed to forward the android port to a local port (and then tried to 
> connect the debugger to the 8000), but with no luck.
>
> Any help?  (we are almost there!)
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Use AndroidDebugBridge and ddmlib in my own desktop application

2011-03-03 Thread Xavier Ducrohet
oh wait I just realize you init ddmlib with init(false).

the boolean is "client support",  set it to true (and then the 1
ddmlib-enabled app restriction will be important).

2011/3/3 Xavier Ducrohet :
> Do you have DDMS running while you run your own app using ddmlib?
>
> Only one ddmlib-enabled app can connect to the clients.
>
> 2011/3/3 Panayotis Katsaloulis :
>>
>> On 03 Μαρ 2011, at 10:33 π.μ., Xavier Ducrohet wrote:
>>
>>> does DDMS show those clients? ddms/lib will only show clients that are
>>> debuggable (or all of them on the emulator).
>>
>> Yes it does. I can see it with a "bug" icon next to it.
>>
>> What I did (and forgive me if I am wrong), is to start it with a command 
>> similar to
>> adb shell am start -D -n package.name/.Activity
>>
>>
>>> Also doing a sleep and getting the device list is not the way to go.
>>> You should register listener on the bridge to be notified as devices
>>> get discovered/disconnected and clients are started/killed.
>>>
>>
>> Yes, I've done this too. Exactly same results.
>> But for the sake of the example, I shortened my code.
>>
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>>
>
>
>
> --
> Xavier Ducrohet
> Android SDK Tech Lead
> Google Inc.
> http://developer.android.com | http://tools.android.com
>
> Please do not send me questions directly. Thanks!
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Use AndroidDebugBridge and ddmlib in my own desktop application

2011-03-03 Thread Xavier Ducrohet
Do you have DDMS running while you run your own app using ddmlib?

Only one ddmlib-enabled app can connect to the clients.

2011/3/3 Panayotis Katsaloulis :
>
> On 03 Μαρ 2011, at 10:33 π.μ., Xavier Ducrohet wrote:
>
>> does DDMS show those clients? ddms/lib will only show clients that are
>> debuggable (or all of them on the emulator).
>
> Yes it does. I can see it with a "bug" icon next to it.
>
> What I did (and forgive me if I am wrong), is to start it with a command 
> similar to
> adb shell am start -D -n package.name/.Activity
>
>
>> Also doing a sleep and getting the device list is not the way to go.
>> You should register listener on the bridge to be notified as devices
>> get discovered/disconnected and clients are started/killed.
>>
>
> Yes, I've done this too. Exactly same results.
> But for the sake of the example, I shortened my code.
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Use AndroidDebugBridge and ddmlib in my own desktop application

2011-03-03 Thread Xavier Ducrohet
does DDMS show those clients? ddms/lib will only show clients that are
debuggable (or all of them on the emulator).

Also doing a sleep and getting the device list is not the way to go.
You should register listener on the bridge to be notified as devices
get discovered/disconnected and clients are started/killed.

Xav

On Thu, Mar 3, 2011 at 12:07 AM, Panayotis Katsaloulis
 wrote:
> Hello all!
>
> I am trying to use AndroidDebugBridge in my desktop application but I fail.
> Namely, although I am able to get a list of devices currently attached to my 
> system, I am not able get a list of Clients (the running applications and 
> especially my running application).
> Here is a minimal example:
>
>       AndroidDebugBridge.init(false);
>       AndroidDebugBridge adb = AndroidDebugBridge.createBridge("PATH_TO_adb", 
> true);
>       try {
>           Thread.sleep(1000);
>       } catch (InterruptedException ex) {
>       }
>       System.out.println(adb.getDevices().length);
>       System.out.println(adb.getDevices()[0].getClients().length);
>       adb.terminate();
>
> Here is the example output:
> 1
> 0
> which means that I do get a device, but I don't get any clients.
> Can you help me what I am doing wrong?
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] ADT 10.0.0 Issues

2011-03-02 Thread Xavier Ducrohet
On Sun, Feb 27, 2011 at 4:54 AM, Markus Junginger  wrote:
> And speaking of ADT: are there any known plans to improve performance?
> We have several larger project and every time we update a single file,
> ADT seems to build the entire APK from scratch. This takes up to
> almost a minute, which decreases productivity. The builder could be
> more intelligent and just update the deltas.

The builders do try to be as incremental as possible, however they
rely on external tools that don't support incremental builds.

- If you only change a java file, the resources are not
compiled/packaged saving time.
- However if you change a resource we have to recompile* / package
them which is quite slow on large project and which creates a new
R.java class which triggers a new java compilation.
- Java compilation trigger a full dex'ing of the app. This takes a
while on large project.

* it would be nice to at least detect that R.java does not need to be
regenerated if resource values are changed instead of added or
removed.
We are also looking at incremental dex'ing.

We have nothing more to announce at this time, but we are aware of
performance issue and we'll be working on it.

Also, the Ant build system is equally slow (even more so actually) as
it doesn't handle dependencies at all and always compile
aidl/renderscript/resources, etc...

Xav
-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: java.lang.NullPointerException encountered while running Android Pre Compiler.

2011-02-25 Thread Xavier Ducrohet
Is that all there is in the log?I'm more interested in an exception
that would have happened in PreCompilerBuilder.startupOnInitialize
which would explain the NPE in the build method.

On Fri, Feb 25, 2011 at 1:39 AM, Ajay  wrote:
>
> !ENTRY org.eclipse.core.resources 4 2 2011-02-25 15:07:29.445
> !MESSAGE Problems occurred when invoking code from plug-in:
> "org.eclipse.core.resources".
> !STACK 0
> java.lang.NullPointerException
>        at
> com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder.build(PreCompilerBuilder.java:
> 198)
>        at org.eclipse.core.internal.events.BuildManager
> $2.run(BuildManager.java:629)
>        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
>        at
> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> 172)
>        at
> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> 203)
>        at org.eclipse.core.internal.events.BuildManager
> $1.run(BuildManager.java:255)
>        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
>        at
> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> 258)
>        at
> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> 220)
>        at
> org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:
> 362)
>        at org.eclipse.core.internal.resources.Project$1.run(Project.java:
> 545)
>        at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:
> 1975)
>        at
> org.eclipse.core.internal.resources.Project.internalBuild(Project.java:
> 524)
>        at org.eclipse.core.internal.resources.Project.build(Project.java:
> 115)
>        at
> org.eclipse.ui.actions.BuildAction.invokeOperation(BuildAction.java:
> 222)
>        at
> org.eclipse.ui.actions.WorkspaceAction.execute(WorkspaceAction.java:
> 162)
>        at org.eclipse.ui.actions.WorkspaceAction
> $2.runInWorkspace(WorkspaceAction.java:483)
>        at
> org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:
> 38)
>        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
>
> !ENTRY org.eclipse.ui.ide 4 4 2011-02-25 15:07:39.406
> !MESSAGE Problems occurred building the selected resources.
> !SUBENTRY 1 com.android.ide.eclipse.adt 4 75 2011-02-25 15:07:39.406
> !MESSAGE Errors running builder 'Android Pre Compiler' on project
> 'P2L'.
> !STACK 0
> java.lang.NullPointerException
>        at
> com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder.build(PreCompilerBuilder.java:
> 198)
>        at org.eclipse.core.internal.events.BuildManager
> $2.run(BuildManager.java:629)
>        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
>        at
> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> 172)
>        at
> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> 203)
>        at org.eclipse.core.internal.events.BuildManager
> $1.run(BuildManager.java:255)
>        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
>        at
> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> 258)
>        at
> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> 220)
>        at
> org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:
> 362)
>        at org.eclipse.core.internal.resources.Project$1.run(Project.java:
> 545)
>        at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:
> 1975)
>        at
> org.eclipse.core.internal.resources.Project.internalBuild(Project.java:
> 524)
>        at org.eclipse.core.internal.resources.Project.build(Project.java:
> 115)
>        at
> org.eclipse.ui.actions.BuildAction.invokeOperation(BuildAction.java:
> 222)
>        at
> org.eclipse.ui.actions.WorkspaceAction.execute(WorkspaceAction.java:
> 162)
>        at org.eclipse.ui.actions.WorkspaceAction
> $2.runInWorkspace(WorkspaceAction.java:483)
>        at
> org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:
> 38)
>        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
>
> This errors came recently after eclipse update..
> Roolback to previous version fails :(..
>
> On Feb 25, 3:40 am, Xavier Ducrohet  wrote:
>> This is extremely strange.
>> Can you send me the log of your workspace?
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> On Wed, Feb 23, 2011 at 9:52 PM, Chopcsu  wrote:
>> > Hi All,
>>
>> > I have jus

Re: [android-developers] ADT lauout designer D&D is a mega-disaster...

2011-02-24 Thread Xavier Ducrohet
2.x doesn't render gradient properly. It's much better than 1.x but
not as good as 3.x.
Same thing for 9-patch. I'ved fixed some issues there related to
scaling when the 9-patch density doesn't match the rendering density.

Overall, the rendering library in 3.0 is much better than the previous
one. I'm currently back-porting it to 2.x

On Thu, Feb 24, 2011 at 3:08 PM, Marcin Orlowski
 wrote:
>>> - gradient as background does not work
>>
>> Do you have an example? Also did you make sure to select "android 3.0"
>> in the editor? We improved gradient rendering in the rendering library
>> of 3.0 but we haven't back-ported it back to previous version of the
>> platform.
>>
>>> - buttons with images for background and src are rendered incorrectly
>>> if src image is smaller than button size (it gets alligned to top-left
>>> corner instead of being centered)
>>
>> I will try this, but my comment about the 3.0 rendering library
>> applies here too,
>
>
> Ok, this solves the problem so these 2 above are false report. In fact
> (duck) I forgot that switch and was using 1.6 and it works much better
> when using 2.1u1 and up. There're however some differences in the way
> my buttons are rendered but I suspect it was perhaps due to some fixes
> related to 9patch handling?
>
>
> --
> Regards,
> Marcin
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] java.lang.NullPointerException encountered while running Android Pre Compiler.

2011-02-24 Thread Xavier Ducrohet
This is extremely strange.
Can you send me the log of your workspace?

On Wed, Feb 23, 2011 at 9:52 PM, Chopcsu  wrote:
> Hi All,
>
> I have just installed ADT 10 with SDK 3.0. Eclipse has been working
> ok, but now all of a sudden my project has broken down with eclipse
> either complaining there is something wrong with xml files where there
> is nothing wrong (tested on a non adt10 eclipse and works fine) or
> giving errors
>
> Errors running builder 'Android Pre Compiler' on project ''.
> java.lang.NullPointerException encountered while running Android Pre
> Compiler.
>
> Or giving errors
>
> Problems occurred when invoking code from plug-in:
> "org.eclipse.core.resources".
>
> java.lang.NullPointerException
>        at
> com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder.build(PreCompilerBuilder.java:
> 198)
>        at org.eclipse.core.internal.events.BuildManager
> $2.run(BuildManager.java:633)
>        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
>        at
> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> 170)
>        at
> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> 201)
>        at org.eclipse.core.internal.events.BuildManager
> $1.run(BuildManager.java:253)
>        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
>        at
> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> 256)
>        at
> org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:
> 309)
>        at
> org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:
> 341)
>        at
> org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:
> 140)
>        at
> org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:
> 238)
>        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>
> At the moment I am going through the paces of changing adt back to an
> older verison, Does anyone have an idea of these problems?
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] An interesting architecture question for xml resources

2011-02-24 Thread Xavier Ducrohet
Create a dummy preferences.xml file in res/xml/ of the library. The
real file from your project will override it.

On Thu, Feb 24, 2011 at 1:52 PM, Bret Foreman  wrote:
> I've created a set of handy xml parsers for the preferences file
> (R.xml.preferences) and created a class called PrefrencesHelper. This
> worked fine when the class was in the main project. But I want to
> share PrefrencesHelper as a library.
>
> In the non-lib version, I instantiate the parser like this inside each
> PrefrencesHelper method:
>
> XmlResourceParser parser = getResources().getXml(R.xml.preferences);
>
> So there is always a fresh instance of the pull parser when I want to
> parse something out.
>
> But that's not going to work in a lib where the R class I want is in
> the main project. The local library R class won't contain
> R.xml.preferences.
>
> I see two options. Maybe you folks can help me think of a third,
> better way:
>
> 1) Instantiate a fresh parser in the main project whenever I call a
> PrefrencesHelper method and include that as one of the arguments. This
> is really messy and I want to avoid it at all costs.
>
> 2) Instantiate the parser once in the main project and pass it to the
> PrefrencesHelper constructor. But if I do this, I need to figure out a
> way to "rewind" the parser and make it start from the beginning of the
> file with each PrefrencesHelper method call. I haven't found any easy
> way to do that.
>
> Any ideas?
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Android Library Projects Cause "already added" from dex

2011-02-23 Thread Xavier Ducrohet
ah that is annoying. As a workaround you could create another library
that has no code/resources but only the jar file and make both of the
library that needs the jar file depend on it.

Xav

On Wed, Feb 23, 2011 at 9:59 AM, Ian Dees  wrote:
> I've attached the output of my "ant debug" run at the command line.
> Unfortunately it exits with a build failure so I cannot ignore and continue.
>
> On Wed, Feb 23, 2011 at 11:52 AM, Xavier Ducrohet  wrote:
>>
>> It's not possible at this time to exclude them.
>>
>> I believe the error is actually only a warning, in which case you could
>> ignore it?
>>
>> On Wed, Feb 23, 2011 at 6:51 AM, Ian  wrote:
>>>
>>> Hi all,
>>> My Android project has multiple Android Library dependencies. Two of them
>>> use the ORMlite JAR so they each have that JAR in their libs directory so we
>>> can build the individual projects with Eclipse. However, when I try to build
>>> the overall Android project with ant, the -dex step complains that the
>>> classes from the ORMlite JAR were already added.
>>> I suppose this makes sense (since dex is adding the classes from the
>>> dependencies, there are in fact two ormlite JARs whose classes are being
>>> added), but is there a way to specify that these JARs should not be included
>>> in the dex process?
>>> Thanks!
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Android Developers" group.
>>> To post to this group, send email to android-developers@googlegroups.com
>>> To unsubscribe from this group, send email to
>>> android-developers+unsubscr...@googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/group/android-developers?hl=en
>>
>>
>> --
>> Xavier Ducrohet
>> Android SDK Tech Lead
>> Google Inc.
>> http://developer.android.com | http://tools.android.com
>>
>> Please do not send me questions directly. Thanks!
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Android Library Projects Cause "already added" from dex

2011-02-23 Thread Xavier Ducrohet
It's not possible at this time to exclude them.

I believe the error is actually only a warning, in which case you could
ignore it?

On Wed, Feb 23, 2011 at 6:51 AM, Ian  wrote:

> Hi all,
>
> My Android project has multiple Android Library dependencies. Two of them
> use the ORMlite JAR so they each have that JAR in their libs directory so we
> can build the individual projects with Eclipse. However, when I try to build
> the overall Android project with ant, the -dex step complains that the
> classes from the ORMlite JAR were already added.
>
> I suppose this makes sense (since dex is adding the classes from the
> dependencies, there are in fact two ormlite JARs whose classes are being
> added), but is there a way to specify that these JARs should not be included
> in the dex process?
>
> Thanks!
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en




-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

  1   2   3   4   5   6   >