Comments (18)
R.java,如果在eclipse里面是会自动生成的,如果是用mmm编译,aapt(貌似是这个?)也是会在编译的司法自动生成的。
String.xml这个就不了解了
BTW,还没有编译过,木有4.0的jj,表示很无力
from fileexplorer.
sorry, 还是因为开源的不是 eclipse project,导致需要自己 new android project. 现在已经ok了,请 closed,不好意思。
from fileexplorer.
一般开源软件的习惯是不给IDE相关的配置文件,因为每个人习惯的IDE都不一样,没有太大意义,不过有的会给make,ant或maven的脚本
对于第二个问题,版本控制的一个最佳实践是,自动生成的代码不放在代码库中,而R.java如同.class文件一样,因为是自动生成的,所以都是不需要放进来的
from fileexplorer.
恩,确实是一个不错的实践。
from fileexplorer.
sorry for writing in English but... i really didn't understand what you're talking because the translator isn't translating well.
But, can someone give instructions on how to compile this? i've tried in Eclipse and on a android build but it doesn't work both methods.
i've tried including the android.r but neither it worked. It's still missing things from that r.java
from fileexplorer.
You should make sure you have already installed ADT plugin (http://developer.android.com/sdk/eclipse-adt.html) first. Then you can create a new Android project from existing source in Eclipse (File -> New -> Android Project -> Create project from existing source). After the wizard, Eclipse will do all left stuffs for you including generating the gen folder to contains R.java.
from fileexplorer.
Above that has a very detailed(Create project from existing source is key), add i should add that this project only compile with Android4.0 or later + jdk1.6 (or later?), and if you find anything is wrong,please fix it first, this is the reasons for i missing R.java.
And i think maybe it's open with maven project, that will reduce a lot of environmental trouble above.
from fileexplorer.
A significant advantage of Maven is dependency management, but Android projects do not have complicated dependency situations indeed. Another reason is, Maven does not work well with Android projects, especially with ADT plugin in Eclipse, for instance, Maven will not consider gen folder is a source folder. So it is not quite necessary to introduce Maven in Android projects. However, you may try to use some Eclipse plugins or Maven plugins to resolve the integration issues.
from fileexplorer.
i have that ADT plugin, and i've done that, but it's not working :S
i will update all Android SDK, get another distro of the Eclipse and reinstall the ADT, maybe the problem is there
from fileexplorer.
i updated everything. i'm using SDK with Api Level 15. No R.Java problems and less errors given, but... there's still a few errors and warnings that don't let me build the package. Here, there are some screenshots of both Errors and Warnings list.
http://img585.imageshack.us/img585/4637/semttulo1he.png
http://img823.imageshack.us/img823/1811/semttulo2thi.png
from fileexplorer.
i pull it and push it onto google code with svn. maybe you can try checkout it, at http://fileexplorer-android.googlecode.com/svn/trunk/ .
from fileexplorer.
so, what's the difference between that source you've uploaded and the original one?
from fileexplorer.
nothing, but i want fork it and enhance it, and ing...
from fileexplorer.
so, you sucessfully build it through eclipse or an android build?
from fileexplorer.
yes.
from fileexplorer.
strange, i can't :S
wich api version r you using?
edit: i'm downloading now the api version 14, i had 15, let's see what happen if i use 14 on Eclipse
from fileexplorer.
i got build problems... :s
same errors with Api 14
from fileexplorer.
ok, i added android-support-v4.jar and added it to the class patch, also addded android-support-v13.jar to the class patch, now there's no building errors on Eclipse, only Warnings
it doesn't build any APK file
from fileexplorer.
Related Issues (20)
- 2.2 的版本好像不能使用
- Spanish, Internal Memory File Acces And More Options.
- ftp 文件上传,中文文件名乱码
- ftp 文件上传,中文文件名乱码 HOT 3
- 小米开源项目FileExplorer 疑似缺胳膊少腿,是否真的开源? HOT 4
- Search Bar HOT 1
- The functions of delete and cut has error.删除,粘贴 等功能报错,大家存不存在这个问题? HOT 4
- android studio HOT 1
- 文件删除异常(File delete error) HOT 2
- 适配跟UI 都很差 感觉跟小米的文件管理器差距很大 HOT 2
- 文件管理器无法对外置的SD卡进行操作
- Potential issue for an integer overflow
- Another potential issue for integer overflow
- file
- Bruh
- Compilation via F-Droid has ceased.
- U盘插入后读取文件很慢
- File explorer
- file HOT 1
- Hello World
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fileexplorer.