Speed Up Deodexing with JoelDroid Batch Deodexer

Android 5.0 Lollipop brings many under-the-hood changes like changing the default compiler … more

Top 5 Apps for 2014 + Top Xposed Mod of 2014 – XDA TV

Its that time of year where you look back and remember the things that happened … more

NVIDIA SHIELD Tablet Gets Android 5.0.1, OTA Available

The NVIDIA SHIELD Tablet is the latest Android-powered device released by famed GPU … more

FXP Team Delivers Lollipop to Various Xperia Devices!

From all of us here at XDA-Developers, we’d like to wish you Happy Holidays! If … 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
 
83 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: 80
 
707 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
 
83 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
 
83 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: 80
 
707 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,433
 
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