Skip to content

Commit dbeb120

Browse files
committed
📝 Indicate compileDebugKotlin solutions
1 parent 363a313 commit dbeb120

File tree

2 files changed

+9
-28
lines changed

2 files changed

+9
-28
lines changed

README-ZH.md

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Language: [English](README.md) | 中文
4343
* [注册资源变化回调](#注册资源变化回调)
4444
* [自定义类型或 UI](#自定义类型或-ui)
4545
* [常见问题](#常见问题-)
46-
* [编译时报错 `Unresolved reference: R`](#编译时报错-unresolved-reference-r)
46+
* [Execution failed for task ':photo_manager:compileDebugKotlin'](#execution-failed-for-task-photo_managercompiledebugkotlin)
4747
* [如何获取资源的路径以进行上传或编辑等操作的整合?](#如何获取资源的路径以进行上传或编辑等操作的整合)
4848
* [如何更改 'Recent' 或其他路径的名称或属性?](#如何更改-recent-或其他路径的名称或属性)
4949
* [`File``Uint8List` 创建 `AssetEntity` 的方法](#从-file-或-uint8list-创建-assetentity-的方法)
@@ -268,19 +268,10 @@ AssetPicker.unregisterObserve(); // 取消注册回调
268268

269269
## 常见问题 ❔
270270

271-
### 编译时报错 `Unresolved reference: R`
271+
### Execution failed for task ':photo_manager:compileDebugKotlin'
272272

273-
```groovy
274-
e: <path>\photo_manager-x.y.z\android\src\main\kotlin\top\kikt\imagescanner\core\PhotoManagerDeleteManager.kt: (116, 36): Unresolved reference: R
275-
e: <path>\photo_manager-x.y.z\android\src\main\kotlin\top\kikt\imagescanner\core\PhotoManagerDeleteManager.kt: (119, 36): Unresolved reference: createTrashRequest
276-
e: <path>\photo_manager-x.y.z\android\src\main\kotlin\top\kikt\imagescanner\core\PhotoManagerPlugin.kt: (341, 84): Unresolved reference: R
277-
e: <path>\photo_manager-x.y.z\android\src\main\kotlin\top\kikt\imagescanner\core\utils\Android30DbUtils.kt: (34, 34): Unresolved reference: R
278-
e: <path>\photo_manager-x.y.z\android\src\main\kotlin\top\kikt\imagescanner\core\utils\IDBUtils.kt: (27, 67): Unresolved reference: R
279-
280-
FAILURE: Build failed with an exception.
281-
```
282-
283-
请执行 `flutter clean`
273+
查看 [photo_manager#561]https://github.com/CaiJingLong/flutter_photo_manager/issues/561
274+
了解详细的解决方法。
284275

285276
### 如何获取资源的路径以进行上传或编辑等操作的整合?
286277

README.md

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ All UI designs are based on WeChat 8.x, and it will be updated following the WeC
4141
* [Register assets change observe callback](#register-assets-change-observe-callback)
4242
* [Customize with your own type or UI](#customize-with-your-own-type-or-ui)
4343
* [Frequently asked question](#frequently-asked-question-)
44-
* [Build failed with `Unresolved reference: R`](#build-failed-with-unresolved-reference-r)
44+
* [Execution failed for task ':photo_manager:compileDebugKotlin'](#execution-failed-for-task-photo_managercompiledebugkotlin)
4545
* [How can I get path from the `AssetEntity` to integrate with `File` object, upload or edit?](#how-can-i-get-path-from-the-assetentity-to-integrate-with-file-object-upload-or-edit)
4646
* [How can I change the name of "Recent" or other entities name/properties?](#how-can-i-change-the-name-of-recent-or-other-entities-nameproperties)
4747
* [Create `AssetEntity` from `File` or `Uint8List` (rawData)](#create-assetentity-from-file-or-uint8list-rawdata)
@@ -118,7 +118,7 @@ If you don't need the `ACCESS_MEDIA_LOCATION` permission,
118118
see [Disable `ACCESS_MEDIA_LOCATION` permission](#disable-access_media_location-permission).
119119

120120
If you found some warning logs with `Glide` appearing,
121-
then the main project needs an implementation of `AppGlideModule`.
121+
then the main project needs an implementation of `AppGlideModule`.
122122
See [Generated API](https://sjudd.github.io/glide/doc/generatedapi.html).
123123

124124
### iOS
@@ -263,19 +263,9 @@ in the example which has an implementation based on `<File, Directory>` types.
263263

264264
## Frequently asked question ❔
265265

266-
### Build failed with `Unresolved reference: R`
266+
### Execution failed for task ':photo_manager:compileDebugKotlin'
267267

268-
```groovy
269-
e: <path>\photo_manager-x.y.z\android\src\main\kotlin\top\kikt\imagescanner\core\PhotoManagerDeleteManager.kt: (116, 36): Unresolved reference: R
270-
e: <path>\photo_manager-x.y.z\android\src\main\kotlin\top\kikt\imagescanner\core\PhotoManagerDeleteManager.kt: (119, 36): Unresolved reference: createTrashRequest
271-
e: <path>\photo_manager-x.y.z\android\src\main\kotlin\top\kikt\imagescanner\core\PhotoManagerPlugin.kt: (341, 84): Unresolved reference: R
272-
e: <path>\photo_manager-x.y.z\android\src\main\kotlin\top\kikt\imagescanner\core\utils\Android30DbUtils.kt: (34, 34): Unresolved reference: R
273-
e: <path>\photo_manager-x.y.z\android\src\main\kotlin\top\kikt\imagescanner\core\utils\IDBUtils.kt: (27, 67): Unresolved reference: R
274-
275-
FAILURE: Build failed with an exception.
276-
```
277-
278-
Run `flutter clean` first.
268+
See [photo_manager#561]https://github.com/CaiJingLong/flutter_photo_manager/issues/561 for more details.
279269

280270
### How can I get path from the `AssetEntity` to integrate with `File` object, upload or edit?
281271

@@ -408,7 +398,7 @@ Contributions of any kind welcomed!!
408398
## Acknowledgement
409399

410400
> Every aspect of IntelliJ IDEA has been designed to maximize developer productivity.
411-
Together, intelligent coding assistance and ergonomic design make development not only productive but also enjoyable.
401+
Together, intelligent coding assistance and ergonomic design make development not only productive but also enjoyable.
412402

413403
Thanks to [JetBrains](https://www.jetbrains.com/?from=fluttercandies) for allocating free open-source licenses for IDEs
414404
such as [IntelliJ IDEA](https://www.jetbrains.com/idea/?from=fluttercandies).

0 commit comments

Comments
 (0)