Amazon Fire TV Stick vs Chromecast – XDA TV

There is no doubt that Amazon is a huge player in many markets, and they want to be a huge … more

Fight the Heat and Conserve Battery with EaseUS Coolphone

Memory hungry Android applications are often responsible for making our device … more

Battery Charged in 30 Seconds? Maybe in 2016

Phones and tablets are getting more and more power hungry with each passing generation. Their … more

ZArchive Manages Your File Archives

Today smartphones are quite powerful devices that can handle multiple processes at once. In fact, some of … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Q] Convert project files to apk aligned

OP andreglud

10th January 2014, 11:17 AM   |  #1  
andreglud's Avatar
OP Member
Flag Kastrup
Thanks Meter: 1
 
67 posts
Join Date:Joined: Oct 2013
Donate to Me
More
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, 03:52 PM   |  #2  
Masrepus's Avatar
Senior Member
Thanks Meter: 78
 
689 posts
Join Date:Joined: Feb 2013
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, 04:10 PM   |  #3  
andreglud's Avatar
OP Member
Flag Kastrup
Thanks Meter: 1
 
67 posts
Join Date:Joined: Oct 2013
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, 05:39 PM   |  #4  
andreglud's Avatar
OP Member
Flag Kastrup
Thanks Meter: 1
 
67 posts
Join Date:Joined: Oct 2013
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, 2 views)
Last edited by andreglud; 10th January 2014 at 05:44 PM.
11th January 2014, 08:51 AM   |  #5  
Masrepus's Avatar
Senior Member
Thanks Meter: 78
 
689 posts
Join Date:Joined: Feb 2013
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, 01:43 PM   |  #6  
EatHeat's Avatar
Recognized Developer
Flag Calcutta
Thanks Meter: 1,427
 
914 posts
Join Date:Joined: Jan 2013
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