从源代码编译android APK

时间:2023-01-18 23:44:31

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.

我有一个用Java编写的Android应用程序的源代码。我想对代码进行一些更改并编译为Android应用程序。我对Java Android应用程序一无所知。

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

反正我是否可以使用任何软件编译并制作为APK?

Here is the source:-

这是来源: -

6 个解决方案

#1


2  

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.

如果您计划在q2android应用程序中进行的更改非常简单并且您知道要更改的内容,那么sur007已经捕获了您需要的所有内容。此外,这是一个与Android开发人员合作的工作。

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

另一个重要警告:该应用程序已超过4年,这意味着您必须仔细选择API和Sdk Mix / Max版本。即使对于经验丰富的Android开发人员来说,管理版本支持也很繁忙 - 因此请准备好面向后向兼容性API折旧问题

All the best!

祝一切顺利!

#2


0  

You can use eclipse ADT.In order to publish it into Google Play you should sign it.It generates APK and you can sign it via ADT easily.

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

#3


0  

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

首先,你需要下载IDE和sdk来准备构建环境,你可以在这里得到这些:

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

其次,你需要导入ActionBarSherlock作为lib项目,你可以按照下面的链接检查这些代码并导入你的工作区。

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

命令:git clone https://github.com/JakeWharton/ActionBarSherlock [你的文件夹]

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

你可以在Q2Android项目中添加actionbarSherlock项目作为lib项目。

Then,u can build this project.

然后,你可以建立这个项目。

#4


0  

Download the IDE, import the github project and run.

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

#5


0  

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

您将很高兴知道您可以在以下任一操作系统上启动Android应用程序开发:

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.

第二点是开发Android应用程序所需的所有工具都是免费提供的,可以从Web下载。以下是在开始Android应用程序编程之前需要的软件列表。

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

另一种方法是使用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

通过此迁移到Android Studio将项目导入Android Studio

  1. Android site

#6


0  

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

1.下载并安装android studio 2.安装Java SDK(即)jdk 3.打开android studio 4.选择File-> import 5.选择你的源代码

#1


2  

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.

如果您计划在q2android应用程序中进行的更改非常简单并且您知道要更改的内容,那么sur007已经捕获了您需要的所有内容。此外,这是一个与Android开发人员合作的工作。

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

另一个重要警告:该应用程序已超过4年,这意味着您必须仔细选择API和Sdk Mix / Max版本。即使对于经验丰富的Android开发人员来说,管理版本支持也很繁忙 - 因此请准备好面向后向兼容性API折旧问题

All the best!

祝一切顺利!

#2


0  

You can use eclipse ADT.In order to publish it into Google Play you should sign it.It generates APK and you can sign it via ADT easily.

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

#3


0  

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

首先,你需要下载IDE和sdk来准备构建环境,你可以在这里得到这些:

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

其次,你需要导入ActionBarSherlock作为lib项目,你可以按照下面的链接检查这些代码并导入你的工作区。

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

命令:git clone https://github.com/JakeWharton/ActionBarSherlock [你的文件夹]

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

你可以在Q2Android项目中添加actionbarSherlock项目作为lib项目。

Then,u can build this project.

然后,你可以建立这个项目。

#4


0  

Download the IDE, import the github project and run.

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

#5


0  

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

您将很高兴知道您可以在以下任一操作系统上启动Android应用程序开发:

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.

第二点是开发Android应用程序所需的所有工具都是免费提供的,可以从Web下载。以下是在开始Android应用程序编程之前需要的软件列表。

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

另一种方法是使用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

通过此迁移到Android Studio将项目导入Android Studio

  1. Android site

#6


0  

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

1.下载并安装android studio 2.安装Java SDK(即)jdk 3.打开android studio 4.选择File-> import 5.选择你的源代码