Friday, September 3, 2010

[android-developers] Re: Bug in minSdkVersion or what?

Thanks for the quick reply Lance,

So I read that post and seems that my app is perfectly fine.

gustavo@gustavo-desktop:/opt/android/platforms/android-2.1/tools$ ./
aapt dump badging /home/gustavo/android_app/test_app.apk
package: name='com.test.android' versionCode='1' versionName='1.0'
application: label='Test' icon='res/drawable-mdpi/icon.png'
launchable activity name='com.test.android.MainActivity'label=''
icon=''
uses-permission:'android.permission.ACCESS_COARSE_UPDATES'
uses-permission:'android.permission.READ_PHONE_STATE'
uses-permission:'android.permission.CALL_PHONE'
uses-permission:'android.permission.INTERNET'
uses-permission:'android.permission.ACCESS_NETWORK_STATE'
uses-permission:'android.permission.ACCESS_COARSE_LOCATION'
uses-permission:'android.permission.READ_CONTACTS'
sdkVersion:'4'
main
other-activities
other-services
supports-screens: 'small' 'normal' 'large'
locales: '--_--'
densities: '120' '160' '240'

I don't think there's nothing wrong with it.

manifest.xml:

<uses-permission
android:name="android.permission.ACCESS_COARSE_UPDATES"
android:required="false"/>
<uses-permission android:name="android.permission.READ_PHONE_STATE"
android:required="false"/>
<uses-permission android:name="android.permission.CALL_PHONE"
android:required="true"/>
<uses-permission android:name="android.permission.INTERNET"
android:required="true"/>
<uses-permission
android:name="android.permission.ACCESS_NETWORK_STATE"
android:required="false"/>
<uses-permission
android:name="android.permission.ACCESS_COARSE_LOCATION"
android:required="false" />
<uses-permission android:name="android.permission.READ_CONTACTS"
android:required="false" />

<supports-screens android:largeScreens="true"
android:normalScreens="true" android:smallScreens="true"
android:anyDensity="true" />

<uses-sdk android:minSdkVersion="4" />

default.properties:
target=android-8

I really don't understand what's going on with just a simple
publishing... and this is not even the first time I'm doing this =(

Any other ideas?

- Gus

On Sep 3, 8:19 pm, Lance Nanek <lna...@gmail.com> wrote:
> Two other things you can check are if you enabled copy protection, and
> if any uses-feature entries are getting added for you by the build
> tools. There's a aapt dump badging command you can run to check the
> latter:http://android-developers.blogspot.com/2010/06/future-proofing-your-a...
>
> On Sep 3, 4:31 pm, Gustavo <gumat...@gmail.com> wrote:
>
> > Hi guys,
>
> > I've just published my app on the android market but something weird
> > happened, this is not my first time publishing an app so I'm almost
> > sure I'm not doing anything wrong here, so would like to know if
> > anyone had this same issue before.
>
> > 1st Attempt:
>
> > Manifest.xml file
>
> > <supports-screens android:largeScreens="true"
> > android:normalScreens="true" android:smallScreens="true"
> > android:anyDensity="true" />
>
> > <uses-sdk android:minSdkVersion="4" />
>
> > default.properties:
>
> > # Indicates whether an apk should be generated for each density.
> > split.density=false
> > # Project target.
> > target=android-4
>
> > 2nd Attempt:
>
> > Manifest.xml file
>
> > <supports-screens android:largeScreens="true"
> > android:normalScreens="true" android:smallScreens="true"
> > android:anyDensity="true" />
> > <uses-sdk android:minSdkVersion="4" android:targetSdkVersion="8" />
>
> > default.properties:
>
> > # Indicates whether an apk should be generated for each density.
> > split.density=false
> > # Project target.
> > target=android-8
>
> > This is suppose to be visible for all android devices that has the
> > version 1.6 and later, right? we have 3 androids here and I can only
> > see the app in the android market with the 1.6 android phone, the
> > other ones are 2.0.1 and 2.01 and I'm not being able to see the app
> > there.
>
> > Is there anything wrong with this configurations or something is
> > really going on with apps publication lately?
>
> > Thanks you very much,
>
> > - Gus
>
>

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment