I noticed that when downgrading the plugin and running gradlew from the
command line:
With the new plugin (version 2.2.0) upon './gradlew assembleDebug' I get:
:
:app:validateSigningDebug
:app:packageDebug
:app:assembleDebug
:
but with the old one (2.1.2) I get:
:
:app:validateDebugSigning
With Android Studio 2.2 Preview 6 I got working apk which can be directly
uploaded to Play store.
And maybe non-related, but hint - check : Module settings -> app -> Build
Types -> release -> "Zip Align Enabled" should have value "true"
Urmas
On Thursday, June 9, 2016 at 7:15:15 PM UTC+3, Fabs
It's working unless you're using vector drawable as your app icon. So it
only works for me until I'm uploading to Google Play. This needs to be
fixed.
søndag 19. juni 2016 06.44.47 UTC+2 skrev sim47 følgende:
>
> it's working just downgraded the gradle plugin phewww it just wasted my 2
>
it's working just downgraded the gradle plugin phewww it just wasted my 2
hours
On Wednesday, June 15, 2016 at 2:03:37 PM UTC+5, MarKco wrote:
>
> I was able to build a correctly zipaligned APK by downgrading gradle
> plugin from classpath com.android.tools.build:gradle:2.2.0-alpha3
> to
Thanks, That worked
On Monday, June 13, 2016 at 8:48:36 PM UTC+7, Fabs wrote:
>
> Very interesting everyone! I just verified that if I take the output of
> the first attempt to zipalign (which fails), the zipaligned zipaligned file
> worked for me too! It looks like this is a pretty widespread
YES!! FINALLYYY
On Wednesday, June 15, 2016 at 11:32:18 AM UTC+2, Sun Light wrote:
>
> This helped, nothing else does, but this finally solve the problem! Thank
> you!
>
> http://stackoverflow.com/questions/37783751/android-apk-not-zip-aligned-when-uploading-to-google-play/37786864#37786864
>
This helped, nothing else does, but this finally solve the problem! Thank
you!
http://stackoverflow.com/questions/37783751/android-apk-not-zip-aligned-when-uploading-to-google-play/37786864#37786864
Yes, as I stated above you can downgrade your gradle plugin from
build.gradle without downgrading Android Studio and thus you'll be able to
build zipaligned APKs.
"n build.gradle I changed gradle plugin version from
classpath 'com.android.tools.build:gradle:2.2.0-alpha3'
to
classpath
I tried to:
- zipalign once, not working, still same problem.
- zipalign twice, not working - You uploaded an APK with invalid or missing
signing information for some of its files. You need to create a valid
signed APK.
- reinstall Android Studio to last stable version include SDK - still same
I tried to:
- zipalign once, not working, still same problem.
- zipalign twice, not working - You uploaded an APK with invalid or missing
signing information for some of its files. You need to create a valid
signed APK.
- reinstall Android Studio to last stable version include SDK - still same
I was able to build a correctly zipaligned APK by downgrading gradle plugin
from classpath com.android.tools.build:gradle:2.2.0-alpha3
to com.android.tools.build:gradle:2.1.2 as suggested
here:
Hello Fabs,
thank you for your suggestion. I zipaligned the zipaligned file and got a
"Verification succesful" exit code. Then, when I loaded it on play store, I
got the "not zipaligned" error again. I zipaligned again, still got failure
:-/
Il giorno lunedì 13 giugno 2016 15:48:36 UTC+2, Fabs
Very interesting everyone! I just verified that if I take the output of the
first attempt to zipalign (which fails), the zipaligned zipaligned file
worked for me too! It looks like this is a pretty widespread issue that
thankfully has an easy workaround, and I guess that this will be eliminated
What helped me:
I downloaded stable Android Studio 2.1
here: https://developer.android.com/studio/index.html
Then in build.gradle I changed gradle plugin version from
classpath 'com.android.tools.build:gradle:2.2.0-alpha3'
to
classpath 'com.android.tools.build:gradle:2.1.2'
Rebuild, sign,
I'm experiencing the exact same issue since I upgraded to Android Studio
2.2 preview 3
Il giorno giovedì 9 giugno 2016 18:15:15 UTC+2, Fabs ha scritto:
>
> Hello all.
> (...)
>
--
You received this message because you are subscribed to the Google Groups
"Android Developers" group.
To
> What is up with this?
As I have in hard way acted with Android Studio only about for a week,
don't know. I hope, it's about "preview" status of developer, and that it
all gets better. Knowing Google, there's hardly someone we could complain
(forums about apis are full of requests and
I have battled this too. I get random zipalign errors. Clean and rebuild
and get different errors. The sometimes I can get it zipaligned, go to
upload the Play Store, now I get signing errors. I know the signed app
works because I sideloaded it over a previous signed installation with no
Le vendredi 10 juin 2016 22:38:30 UTC+2, exa...@gmail.com a écrit :
>
> As GregF just wrote, manual signing and aligning. I found easier way -
> just align from commandline.. TWICE! After aligning two times I was able to
> upload my apk
>
> You save my life ! Thank you !
>
--
You received
As GregF just wrote, manual signing and aligning. I found easier way - just
align from commandline.. TWICE! After aligning two times I was able to
upload my apk
Urmas
On Thursday, June 9, 2016 at 7:15:15 PM UTC+3, Fabs wrote:
>
> Hello all.
>
> I have never encountered this issue before,
It just started happening to me last night using Android Studio 2.2 Preview
3. I ended up building the APK with Studio then manually signing and
zipalign the APK from the commandline. It is a pain but at least a
workaround.
On Thursday, June 9, 2016 at 9:15:15 AM UTC-7, Fabs wrote:
>
> Hello
20 matches
Mail list logo