i think no error.In the last,the applictation is install. On 8月4日, 下午4时36分, david <arava...@gmail.com> wrote: > I find the sample code in device/sample ,I try to build the sample > add-on , > But, below error ocuured: > > : out/target/product/generic/system/xbin/oprofiled > Stubbing addon jar using > target Java: com.example.android.platform_library (out/target/common/ > obj/JAVA_LIBRARIES/com.example.android.platform_library_intermediates/ > classes) > Copying: out/target/common/obj/JAVA_LIBRARIES/ > com.example.android.platform_library_intermediates/classes-jarjar.jar > Copying: out/target/common/obj/JAVA_LIBRARIES/ > com.example.android.platform_library_intermediates/emma_out/lib/ > classes-jarjar.jar > Copying: out/target/common/obj/JAVA_LIBRARIES/ > com.example.android.platform_library_intermediates/classes.jar > Copying: out/target/common/obj/JAVA_LIBRARIES/ > com.example.android.platform_library_intermediates/ > noproguard.classes.jar > target Dex: com.example.android.platform_library > Copying: out/target/common/obj/JAVA_LIBRARIES/ > com.example.android.platform_library_intermediates/ > noproguard.classes.dex > target Jar: com.example.android.platform_library (out/target/common/ > obj/JAVA_LIBRARIES/com.example.android.platform_library_intermediates/ > javalib.jar) > 'out/target/common/obj/JAVA_LIBRARIES/ > com.example.android.platform_library_intermediates//classes.dex' as > 'classes.dex'... > Copying out/target/common/obj/JAVA_LIBRARIES/ > com.example.android.platform_library_intermediates/classes.jar > Classes loaded: 1 > Classes filtered: 0 > java.util.zip.ZipException: ZIP file must have at least one entry > at java.util.zip.ZipOutputStream.finish(ZipOutputStream.java:304) > at java.util.zip.DeflaterOutputStream.close(DeflaterOutputStream.java: > 146) > at java.util.zip.ZipOutputStream.close(ZipOutputStream.java:321) > at com.android.mkstubs.StubGenerator.createJar(StubGenerator.java:98) > at > com.android.mkstubs.StubGenerator.generateStubbedJar(StubGenerator.java: > 68) > at com.android.mkstubs.Main.process(Main.java:309) > at com.android.mkstubs.Main.main(Main.java:125) > Copy: out/host/linux-x86/obj/SDK_ADDON/platform_library_intermediates/ > platform_library-eng.root-linux-x86/libs/platform_library.jar > Install: out/target/product/generic/system/app/Mms.apk > > what error ? > I did not find information about this error on web > Are there someone how have same problem? > > BTW: under source android-2.2 It look is fine. There is no any error > when stubbing addon.
-- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting