Watch Dogs Theme for Rooted Z3

If you’ve got a rooted Z3 and are jealous of all the awesome CM12 themes popping out left and right, … more

Build CM12 for Xperia E3 and Xperia T

XDA Senior Member Vynikalput together this guide to help you learn how to build your own nightlies … more

Lollipop for OnePlus One Enters Testing Stage

Cyanogen just announced on their twitter that their CyanogenMod Lollipop build for the OnePlus … more

Xiaomi Business Model Unlike Usually Conceived

This article explains how Xiaomi sells phones not just to be a mobile OEM, but also to seed … 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 Senior Member
Flag Kastrup
Thanks Meter: 1
 
101 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: 83
 
716 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 Senior Member
Flag Kastrup
Thanks Meter: 1
 
101 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 Senior Member
Flag Kastrup
Thanks Meter: 1
 
101 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: 83
 
716 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,438
 
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