Small icon indicating copy to clipboard operation
Small copied to clipboard

编译运行sample问题

Open xingzjx opened this issue 8 years ago • 4 comments

  • [x] 我已阅读并理解 贡献指南,严格遵循其约定。

错误报告

你做了什么?

按照官方指引运行sample

你期望的结果是什么?

运行small 的sample

实际结果是什么?

点击run按钮的时候出现编译错误

错误日志

Error:Execution failed for task ':app+stub:transformClassesAndResourcesWithSyncLibJarsForRelease'.

java.io.IOException: Could not delete path 'D:\devolop\demo\Small\Android\Sample\app+stub\build\intermediates\bundles\default\libs\assets.jar'.

Small环境

gradle-small plugin : 1.3.0-beta3 (maven) small aar : 1.3.0-beta3 (maven) small binding aar : 1.1.2 (maven) gradle core : 4.0-milestone-1 android plugin : 2.3.0 OS : Windows 7 6.1 (amd64)


### Bundles

| type |      name      |  PP  | sdk |  aapt  | support |        file         |   size   |
|------|----------------|------|-----|--------|---------|---------------------|----------|
| host | app            |      | 26  | 26.0.1 | 25.1.0  |                     |          |
| stub | app+stub       |      | 26  | 26.0.1 | 25.1.0  |                     |          |
| app  | app.main       | 0x77 | 26  | 26.0.1 | 25.1.0  | *.main.apk          | 11.7 KB  |
| app  | app.mine       | 0x16 | 26  | 26.0.1 |         | *.mine.apk          | 48.1 KB  |
| app  | app.ok-if-stub | 0x6a | 26  | 26.0.1 |         | *.appok_if_stub.apk | 19.7 KB  |
| app  | app.detail     | 0x67 | 26  | 26.0.1 | 25.1.0  | *.detail.apk        | 5.8 KB   |
| app  | app.home       | 0x70 | 26  | 26.0.1 |         | *.home.apk          | 6.4 KB   |
| lib  | lib.analytics  | 0x76 | 26  | 26.0.1 |         | *.analytics.apk     | 126.6 KB |
| lib  | lib.utils      | 0x73 | 26  | 26.0.1 | 25.1.0  | *.utils.apk         | 6.8 KB   |
| lib  | lib.style      | 0x79 | 26  | 26.0.1 | 25.1.0  | *.style.apk         | 5.7 KB   |
| web  | web.about      |      | 26  | 26.0.1 | 25.1.0  | *.about.apk         | 24.5 KB  |

xingzjx avatar Nov 29 '17 08:11 xingzjx

我也有同样的问题,你解决没有

realicing avatar Feb 27 '18 09:02 realicing

同样有这样的问题

longlyboyhe avatar Mar 01 '18 06:03 longlyboyhe

同样出现问题 关掉java进程也没有用

JohnsonChow avatar Mar 23 '18 08:03 JohnsonChow

https://jingyan.baidu.com/article/fea4511a38ee62f7ba912568.html 根据这个网站 把占用的进程删除,然后把build的文件删除就可以了

jackdong0224 avatar Apr 16 '18 07:04 jackdong0224