FORUMS

Which OEM Would You Like to Help?

Most manufacturers have moments of greatness and moments of decadence, and in the past few years … more

Root T-Mobile S6/Edge on 5.1.1 Without Tripping Knox

If you purchase phones from a carrier, you may be no stranger to the difficulties … more

IonVR Coming Soon, HTC M9 Dev Edition Gets Android 5.1 – XDA TV

The HTC M9 Developer Edition has received Android 5.1. That and … more

Android 5.1.1 Omni ROM For Motorola Xoom

Back in Feb 2011, the Motorola Xoom became the first device to be sold with Android 3.0 … more

[Q] Convert project files to apk aligned

153 posts
Thanks Meter: 3
 
By andreglud, Senior Member on 10th January 2014, 10:17 AM
Post Reply Subscribe to Thread Email Thread
Sup
So I have my project FILES. And I want it to be a aligned apk file. In some way I have to get it into eather Eclipse or Android Studio. I have both. I cant do it in Eclipse, and in Android studio this comes up:
Quote:

Android Source Generator: [Tiber] Package is not specified in AndroidManifest.xml

Anyone know how I can fix this or know an alternative way?
 
 
10th January 2014, 02:52 PM |#2  
Masrepus's Avatar
Senior Member
Thanks Meter: 93
 
More
In eclipse there is the option to export signed apk, doesnt that work for you?
According to the error message you should have a look in your manifest if the field with the package name is empty

---------------------------------
Phone : My new Nexus 4!
OS:
Pure KitKat 4.4.2 stock, no root, no mods (but only for the first time ;D)
---------------------------------

Gesendet von Tapatalk
10th January 2014, 03:10 PM |#3  
andreglud's Avatar
OP Senior Member
Flag Kastrup
Thanks Meter: 3
 
Donate to Me
More
Quote:
Originally Posted by Masrepus

In eclipse there is the option to export signed apk, doesnt that work for you?
According to the error message you should have a look in your manifest if the field with the package name is empty

---------------------------------
Phone : My new Nexus 4!
OS:
Pure KitKat 4.4.2 stock, no root, no mods (but only for the first time ;D)
---------------------------------

Gesendet von Tapatalk

Nope. Cause I can't import it as a android project.
10th January 2014, 04:39 PM |#4  
andreglud's Avatar
OP Senior Member
Flag Kastrup
Thanks Meter: 3
 
Donate to Me
More
I've uploaded the .apk file I want to zipallign.
Attached Files
File Type: apk Tiber.apk - [Click for QR Code] (5.23 MB, 4 views)
Last edited by andreglud; 10th January 2014 at 04:44 PM.
11th January 2014, 07:51 AM |#5  
Masrepus's Avatar
Senior Member
Thanks Meter: 93
 
More
Ah you wanna zipalign it, sorry missed that
Well with apktool you can do this

---------------------------------
Phone : My new Nexus 4!
OS:
Pure KitKat 4.4.2 stock, no root, no mods (but only for the first time ;D)
---------------------------------

Gesendet von Tapatalk
12th January 2014, 12:43 PM |#6  
EatHeat's Avatar
Recognized Developer
Flag Calcutta
Thanks Meter: 1,459
 
More
Quote:
Originally Posted by andreglud

I've uploaded the .apk file I want to zipallign.

Since you have Eclipse, you should also have the zipalign tool with it. Use the following to zipalign your apk manually.
Code:
zipalign -v notaligned.apk zipaligned.apk
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes