This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Clock skew detected. Your build may be incomplete. in ICS

Hi everyone 

                 I'm working with ANDROID ICS in Beaglebone, I had customized the ICS i tried to add my app with ICS by following procedure

I have copied the package form eclipse workspace to <android-root>/Packages/apps.

I have created the Android make file like as 

LOCAL_PATH:= $(call my-dir)

include $(CLEAR_VARS)

LOCAL_MODULE_TAGS := optional

LOCAL_SRC_FILES := $(call all-subdir-java-files-under, src)

LOCAL_PACKAGE_NAME := Cherry

include $(BUILD_PACKAGE)

I have edited the build/target/product/core.mk--> Cherry\

Then i build the android by  

$ make TARGET_PRODUCT=<product-name> OMAPES=4.x -j<N>
Build had completed with warning 

make: Warning: File `packages/apps/Cherry/res/values-v11/styles.xml' has modification time 1.1e+07 s in the future
target R.java/Manifest.java: Cherry (out/target/common/obj/APPS/Cherry_intermediates/src/R.stamp)
target Package: Cherry (out/target/product/beaglebone/obj/APPS/Cherry_intermediates/package.apk)...........

make: warning:  Clock skew detected.  Your build may be incomplete.

I can find Cherry.apk in ics/out/target/product/beaglebone/system/app/ then i had created bootable SD card and i had booted my Beaglebone.
When i try to open my Cherry app its not get execute its displaying as Unfortunately, Cherry has stopped.
Where is mistake happened.? 
Even though its just hello world application not a complex app.!
Can anyone help me to open my app in my device.?



  • Hi Sangili,

    Reason is : there is a change in timestamp for your application.

    You can go to <android-src>/packages/app/Cherry and execute

    find . -name "*" | xargs touch

    2. Also you can rebuild only your module

    # cd <android-src>

    # source build/envsetup.sh

    # cd packages/apps/Cherry

    # make TARGET_PRODUCT=<product-name> OMAPES=4.x -j<N> -B

     

    BR,

    satish

  • Thanks Mr.Satish

    I build the source code without any error and warning. I can see my app installed in device.But when i try to open it its says Unfortunately, Cherry has stopped and application closed automatically its just hello world application. 

    I android.mk LOCAL_PACKAGE_NAME := Cherry in this statement Chainz is folder name or anything have to refer from androidmanifest.xml

    here Cherry is folder name 

    <manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.example.hello" >

    <original-package android:name="com.android.hello" />

    its my androidmanifest.xml file header.

    Where i did the mistake can you find.?