我跟着此頁作物圖像SD卡How to select and crop an image in android?
Android 2.1的裁切圖像失敗
我放置在裁剪後的圖像中/data/data/package.name/files,代碼工作正常上Android 2.2以上但是當我在Android 2.1上運行此代碼時,選擇了我想要的區域並單擊「保存」後,我總是收到「FAILED BINDER TRANSACTION」錯誤。
爲什麼這是什麼錯誤?
我跟着此頁作物圖像SD卡How to select and crop an image in android?
Android 2.1的裁切圖像失敗
我放置在裁剪後的圖像中/data/data/package.name/files,代碼工作正常上Android 2.2以上但是當我在Android 2.1上運行此代碼時,選擇了我想要的區域並單擊「保存」後,我總是收到「FAILED BINDER TRANSACTION」錯誤。
爲什麼這是什麼錯誤?
你想是這樣的: -
How to Select and Crop Image on Android?
下載示例: - https://github.com/lorensiuswlt/AndroidImageCrop
只有三個所需變化的Android 2.1: -
main.xml中 - >寫wrap_content而不是matchparent。
在AndroidManifest.xml - ><uses-sdk android:minSdkVersion="7" />
在default.properties - >target=android-7
好運。