Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,810,588 Members 46,162 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Convert project files to apk aligned

Tip us?
 
andreglud
Old
#1  
andreglud's Avatar
Member - OP
Thanks Meter 1
Posts: 58
Join Date: Oct 2013
Location: Kastrup

 
DONATE TO ME
Exclamation [Q] Convert project files to apk aligned

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?
 
Masrepus
Old
#2  
Masrepus's Avatar
Senior Member
Thanks Meter 73
Posts: 660
Join Date: Feb 2013
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
 
andreglud
Old
#3  
andreglud's Avatar
Member - OP
Thanks Meter 1
Posts: 58
Join Date: Oct 2013
Location: Kastrup

 
DONATE TO ME
Quote:
Originally Posted by Masrepus View Post
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.
 
andreglud
Old
(Last edited by andreglud; 10th January 2014 at 04:44 PM.)
#4  
andreglud's Avatar
Member - OP
Thanks Meter 1
Posts: 58
Join Date: Oct 2013
Location: Kastrup

 
DONATE TO ME
I've uploaded the .apk file I want to zipallign.
Attached Files
File Type: apk Tiber.apk - [Click for QR Code] (5.23 MB, 2 views)
 
Masrepus
Old
#5  
Masrepus's Avatar
Senior Member
Thanks Meter 73
Posts: 660
Join Date: Feb 2013
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
 
EatHeat
Old
#6  
EatHeat's Avatar
Recognized Developer
Thanks Meter 1,410
Posts: 913
Join Date: Jan 2013
Location: Calcutta
Quote:
Originally Posted by andreglud View Post
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
[3.0+]Crius.
Customize your clock.


[2.2+]SnowBowl HD.
Enjoy the vacations!


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes