5
out/target/common/obj/PACKAGING/public_api.txt:4316: error 5: Added public field android.app.admin.DevicePolicyManager.PASSWORD_QUALITY_MOVEMENT
******************************
You have tried to change the API from what has been previously approved.
To make these errors go away, you have two choices:
1) You can add "@hide" javadoc comments to the methods, etc. listed in the
errors above.
2) You can update current.txt by executing the following command:
make update-api
To submit the revised current.txt to the main Android repository,
you will need approval.
******************************
तो मैं अपने सदस्य चर के लिए एक @hide एनोटेशन जोड़ने की कोशिश की (एपीआई बदलने की कोशिश कर), लेकिन यह केवल मुझे एक और त्रुटि दे देंगे:बिल्डिंग संशोधित AOSP फेंकता त्रुटि
frameworks/base/core/java/android/app/admin/DevicePolicyManager.java:233: cannot find symbol
symbol : class hide
location: class android.app.admin.DevicePolicyManager
@hide
मैं कैसे कर सकता है इस समस्या का समाधान निकले?
महान खोज ... –
देखें '@hide' यहाँ प्रयोग किया जाता है http: // code.metager.de/source/xref/android/4.0.3/frameworks-base/core/java/android/bluetooth/BluetoothDevice.java –
आपको एंड्रॉइड संगतता परिभाषा @ source.android में @hide के बारे में कुछ intresting चीजों को पढ़ना होगा। कॉम/संगतता/4.0/एंड्रॉइड-4.0-cdd.pdf –