简体   繁体   中英

Compile android APK from source code

I have a source code of Android app written in Java. I want to make some changes to the code and compile as android app. I have no knowledge on Java Android app.

Is there anyway for me to compile and make it as APK by using any software?

Here is the source :-

If the changes you are planning to make in q2android app are simple enough and you know what you are changing then sur007 has captured all that you need. Else it's a job for someone hands on with Android development.

Another big warning for you: The app is over 4 years old , which means you have to carefully choose API and Sdk Mix/Max versions.. managing version support can be hectic even for seasoned android developers - so be prepared to face backward compatibility and API depreciated issues

All the best!

下载IDE ,导入github项目并运行。

您可以使用eclipse ADT。要将其发布到Google Play中,您应该对其进行签名。它会生成APK,并且可以通过ADT轻松对其进行签名。

First, u need download IDE and sdk to prepare build environment,u can get these in here :

Second, u need import ActionBarSherlock as lib project, u can follow below link to check out these code and import to your workspace.

command: git clone https://github.com/JakeWharton/ActionBarSherlock [your folder]

u can add actionbarSherlock project as a lib project in Q2Android project.

Then,u can build this project.

You will be glad to know that you can start your Android application development on either of the following operating systems:

Microsoft Windows XP or later version.

Mac OS X 10.5.8 or later version with Intel chip.

Linux including GNU C Library 2.7 or later.

Second point is that all the required tools to develop Android applications are freely available and can be downloaded from the Web. Following is the list of software's you will need before you start your Android application programming.

Java JDK5 or JDK6

Android SDK

Eclipse IDE for Java Developers (optional)

Android Development Tools (ADT) Eclipse Plugin (optional)

For further enquiry you can go through

1. Tutorials Point

The other way would be to use Android Studio

Before you start this class, be sure you have your development environment set up. You need to:

Download Android Studio.
Download the latest SDK tools and platforms using the SDK Manager.

Go through this Migrate to Android Studio to import your project onto Android Studio

  1. Android site

Simple, follow these steps....

1.Download & install android studio 2. Install Java SDK (ie) jdk 3. Open android studio 4. Choose File->import 5. Select your source code

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM