I am trying to send the files from an Android project so that a friend of mine can open a new Android project in eclipse and mess around with code/run the project from their home machine. However, I have run into some problems dealing with missing manifest files, and non-matching signatures.
What is the simplest procedure for bundling up an Android project (not an .apk) to send to someone for their use in eclipse?
The easiest way would be to create a Archive File export. It bundles the projects in your workspace into an exported .zip file. This .zip file can then be import by the other person into eclipse through the Existing Project importer.
To export:
File > Export > Archive File
To import:
File > Import > Existing Projects
into Workspace
Select the exported .zip file as
the Selected archive file
Put it on a source control server, like SVN. If you don't have one, you can use something like Google Code ( http://code.google.com ). Eclipse has built-in source control features to update and commit things to source control.
Related
To make it clear, I'm aware on how to import a library from github to my eclipse workspace and that isn't the problem.
I'm trying to import https://github.com/MartinvanZ/Inscription. If one were to look at the library, you'd see that the actual library isn't in the root but in a seperate folder.
Example:
Git Library
library(folder)
sample(folder)
random files (licence, readme, etc)
I just want to import the library folder as a android project and then modify it and when I push it to the repo, it just gets pushed to the library folder.
How do I do this? If not possible, what can I do similar to what I want?
I believe the problem here is that the library in question does not contain the files required to be imported directly as an Eclipse project. Specifically, it is missing .project and .classpath files. To get this project into Eclipse, you'll have to create a new project. Select File -> New -> Android Project and the pick the option that says "Create project from existing source."
This should create the required .project and .classpath files, without harming the .git directory.
I need to sync my android application DB with Microsoft SQL Server with Microsoft SYNC framework toolkit.
I download it from here.
as per documentation I download the source code and import the library projects with these steps:-
Download source and put it to Myworkspace.
Download ActionBarSherlock, unzip and create new project(ActionBarSherlock)
from "library" folder.
Import both projects(from library and sample folder) to Eclipse.
But library project have an error sign and in console its showing as
[2013-10-31 13:57:44 - SyncFramework] ERROR: resource directory 'C:\Users\Dell\Downloads\selvinlistsyncsample-900c1ee67eb9\selvinlistsyncsample_900c1ee67eb9\library\res' does not exist
as library project does not have any res folder.
please help me for it.
I also face same problem.
do these following step to solve it:-
copy all three package from source folder and put it into your application src folder.
copy jackson-mini-1.9.10.jar from /SyncFramework/libs folder and put this .jar into your application /libs folder
right click on .jar and add this to build path.
press ctrl+shift+o if you have any error in your source files.
that's it. Now you can play with it.
This is an Android applicatoin.
I add a .so native libray, in the folder:
Libs/armeabi/libxx.so
However, I cannot commit it to the repository.
When I right-click "commit", there is no change to reflect that I have added a .so native library file.
How can I solve the problem?
OK, I find one solution. Right click the file, choose Team -> Add to Version Control
Then the file will be able to be commited.
Subversion ignores .so files by default. You could try changing settings at Preferences > Team > Ignored Resources (Ignoring Eclipse project files in SVN project). If not, just add the .so file via the command line.
i downloaded JExcelApi for reading and writing excel file in android app. how can i import it to my eclipse or android sdk or anything before can import that to my code like this:
import jxl.*;
excuse me for my poor english
You need to add the jar File to your Project Folder into the Folder "libs". (Create it if it does not exist).
Then open the project properties in Eclipse and go to Java Build Path Libraries. Click 'Add Jar' and select the jar in the libs folder.
is possible to upload a file on apache server using commons-fileuploader jar file in android .. if yes then please give any reference site if no then please guide me.
It is possible, yes.
If you're using Eclipse and the ADT plugin, you just have to do the following things:
copy the commons-fileupload-1.2.1.jar file to the root of your project.
Right click on your project icon to access its properties.
go to "Java Build Path"
click on the "Libraries" and then on "Add JARs"
choose the commons-fileupload file, and click OK.
You're then ready to go. ADT will automatically convert the classes in the jar file into the dex file format for use in dalvik, and embed them into your APK file.
If you need documentation on how to use the library just follow the user manual: http://commons.apache.org/fileupload/using.html