android生成R.java文件

eclipse生成R.java文件:

保存后工程rebuild,最终调用android-sdk-windows\platform-tools\aapt.exe执行命令来生成文件,然后刷新eclipse-project的gen目录。

 

#com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder.build
        } finally {
            // refresh the 'gen' source folder. 
            // Once this is done with the custom progress
            // monitor to mark all new files as derived
            mGenFolder.refreshLocal(IResource.DEPTH_INFINITE, mDerivedProgressMonitor);
        }
 

android生成R.java文件_第1张图片

 

https://android.googlesource.com/platform/frameworks/base.git/+/master/tools/

 

https://android.googlesource.com/platform/frameworks/base.git

 

  1. aapt/
  2. aidl/
  3. layoutlib/
  4. obbtool/
  5. orientationplot/
  6. preload/
  7. validatekeymaps/
  8. velocityplot/


你可能感兴趣的:(android)