Flutter采坑实录
Flutter采坑实录
搭建环境踩了不少坑,这里开始记录下:
因为*,正常的依赖下载不下来,这里记录下遇到的问题,大家直接全文搜索你的关键词,如果有,直接去文章末尾参考我修改的地方修改吧。
看不懂的地方,可以留言,我会尽力描述清楚。
- wrong:
- A problem occurred configuring root project ‘android’.
Could not resolve all artifacts for configuration ‘:classpath’.
Could not download kotlin-gradle-plugin.jar (org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.50)
> Could not get resource ‘https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-gradle-plugin/1.3.50/kotlin-gradle-plugin-1.3.50.jar’.
> Could not GET ‘https://d29vzk4ow07wi7.cloudfront.net/635d624afedac53fc9eae611c40825a1ea05dda3699f39aa49432ba57d871f26?response-content-disposition=attachment%3Bfilename%3D%22kotlin-gradle-plugin-1.3.50.jar%22&Policy=eyJTdGF0ZW1lbnQiOiBbeyJSZXNvdXJjZSI6Imh0dHAqOi8vZDI5dnprNG93MDd3aTcuY2xvdWRmcm9udC5uZXQvNjM1ZDYyNGFmZWRhYzUzZmM5ZWFlNjExYzQwODI1YTFlYTA1ZGRhMzY5OWYzOWFhNDk0MzJiYTU3ZDg3MWYyNj9yZXNwb25zZS1jb250ZW50LWRpc3Bvc2l0aW9uPWF0dGFjaG1lbnQlM0JmaWxlbmFtZSUzRCUyMmtvdGxpbi1ncmFkbGUtcGx1Z2luLTEuMy41MC5qYXIlMjIiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE1OTcyNDc2NDF9LCJJcEFkZHJlc3MiOnsiQVdTOlNvdXJjZUlwIjoiMC4wLjAuMC8wIn19fV19&Signature=XzOmzbZWLcmE-HSI9vzxnm3A98R9FF0cVC0xmLqHShnTDgAD8siTJXz04in6b2wkMYAeC17I5-eRWsJ3xZyF0nUGFIt9qVO2m3W0QAF8bAj060YYzjUJTxHXlmBgFdjaR6gxcy4oAog6hfbVg74M8zajxRy93esbxky01p6sAfEzcAs6IRjjKg3ygry7Lysia5e35Si6MzulGhQx-QSUtKFNPLvxXpA9WuR3eKMINiD4FF0BafOmr-BNfvl-l47Ln6ovmsKZjQWXqsVV4QWMFxx3kQSP3tMyIWxkvgAkmfdO785Skd141RCbcNnjOzuWWu9VzKYjeU9pvLtg__&Key-Pair-Id=APKAIFKFWOMXM2UMTSFA’.
> d29vzk4ow07wi7.cloudfront.net
Could not download protobuf-java.jar (com.google.protobuf:protobuf-java:3.4.0)
> Could not get resource ‘https://jcenter.bintray.com/com/google/protobuf/protobuf-java/3.4.0/protobuf-java-3.4.0.jar’.
> Could not GET ‘https://d29vzk4ow07wi7.cloudfront.net/dce7e66b32456a1b1198da0caff3a8acb71548658391e798c79369241e6490a4?response-content-disposition=attachment%3Bfilename%3D%22protobuf-java-3.4.0.jar%22&Policy=eyJTdGF0ZW1lbnQiOiBbeyJSZXNvdXJjZSI6Imh0dHAqOi8vZDI5dnprNG93MDd3aTcuY2xvdWRmcm9udC5uZXQvZGNlN2U2NmIzMjQ1NmExYjExOThkYTBjYWZmM2E4YWNiNzE1NDg2NTgzOTFlNzk4Yzc5MzY5MjQxZTY0OTBhND9yZXNwb25zZS1jb250ZW50LWRpc3Bvc2l0aW9uPWF0dGFjaG1lbnQlM0JmaWxlbmFtZSUzRCUyMnByb3RvYnVmLWphdmEtMy40LjAuamFyJTIyIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNTk3MjQ3NjAzfSwiSXBBZGRyZXNzIjp7IkFXUzpTb3VyY2VJcCI6IjAuMC4wLjAvMCJ9fX1dfQ__&Signature=HlWIROBaGl0vVZlLKn5ECSSTqsm6C-cTHBmYNGGHgBW4YmhwhW2FTZjr5g8TkUTcCHIiBNuORLDvA3BaY0taGG-eLOIGXOw5gGELlCmZogEpi81IN19vHx4xDlWAF6503mnSpatptkRPBGFqcOEgIfKeiQ0XZ-lBh0LMUvYnLcf1dAKkanUGM2s5xTs9e45ikdzxIjhtMEvIepNsYgCMMETojZFPMr1DWIRB8uQU9wda-hsqbHCfjg3iOge9KLRIOi4tio1zHybZfypkgUqwE8W-2lJWGVcrI1D0bY~DuunDDX2h5JsrcJYe7wF8w34Cib0oqGgiO0lwTMOA__&Key-Pair-Id=APKAIFKFWOMXM2UMTSFA’.
> d29vzk4ow07wi7.cloudfront.net
Could not download kotlin-annotation-processing-gradle.jar (org.jetbrains.kotlin:kotlin-annotation-processing-gradle:1.3.50)
> Could not get resource ‘https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-annotation-processing-gradle/1.3.50/kotlin-annotation-processing-gradle-1.3.50.jar’.
> Could not GET ‘https://d29vzk4ow07wi7.cloudfront.net/93541ab7daa2b540202579fb63e3206874128fd7562e8319b22479d79e4436d9?response-content-disposition=attachment%3Bfilename%3D%22kotlin-annotation-processing-gradle-1.3.50.jar%22&Policy=eyJTdGF0ZW1lbnQiOiBbeyJSZXNvdXJjZSI6Imh0dHAqOi8vZDI5dnprNG93MDd3aTcuY2xvdWRmcm9udC5uZXQvOTM1NDFhYjdkYWEyYjU0MDIwMjU3OWZiNjNlMzIwNjg3NDEyOGZkNzU2MmU4MzE5YjIyNDc5ZDc5ZTQ0MzZkOT9yZXNwb25zZS1jb250ZW50LWRpc3Bvc2l0aW9uPWF0dGFjaG1lbnQlM0JmaWxlbmFtZSUzRCUyMmtvdGxpbi1hbm5vdGF0aW9uLXByb2Nlc3NpbmctZ3JhZGxlLTEuMy41MC5qYXIlMjIiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE1OTcyNDc3OTN9LCJJcEFkZHJlc3MiOnsiQVdTOlNvdXJjZUlwIjoiMC4wLjAuMC8wIn19fV19&Signature=dEdKPzRcvCdinJOz84YwMbuVLwdAKq7ENHvvYRBdosFkQuf99aOrcXLCBcN4UMdfv6Ggdn4AchewFj3TsTH3jVkJNQRT7iif725i8U8LLoyTRnezt60TWFswc8nEvWjRCEGsxC8GbGi-xkRDOVUnpqypnv5G7WwDvGfCxLXMSuS3vTKwSsBf8TOM-6ZhWVzp9n7pTFHDCgYXFpuy486MghupeFdse5QBZcUfBbWVslFcNFqhVGKyDx5plz3oRzti3EcN7NSiQxQDm10EtoUMA63x5nzLkMFO9OLbC-HRO0iXwNpnL11tyLb7o46KTgJ~Tp-2K1tq7lCKvN2mhA__&Key-Pair-Id=APKAIFKFWOMXM2UMTSFA’.
> d29vzk4ow07wi7.cloudfront.net
Could not download kotlin-android-extensions.jar (org.jetbrains.kotlin:kotlin-android-extensions:1.3.50)
> Could not get resource ‘https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-android-extensions/1.3.50/kotlin-android-extensions-1.3.50.jar’.
> Could not GET ‘https://d29vzk4ow07wi7.cloudfront.net/72357f40b93c5e4f9dfc4e0388b6656165011d0ddbccdd181e097112bd78d307?response-content-disposition=attachment%3Bfilename%3D%22kotlin-android-extensions-1.3.50.jar%22&Policy=eyJTdGF0ZW1lbnQiOiBbeyJSZXNvdXJjZSI6Imh0dHAqOi8vZDI5dnprNG93MDd3aTcuY2xvdWRmcm9udC5uZXQvNzIzNTdmNDBiOTNjNWU0ZjlkZmM0ZTAzODhiNjY1NjE2NTAxMWQwZGRiY2NkZDE4MWUwOTcxMTJiZDc4ZDMwNz9yZXNwb25zZS1jb250ZW50LWRpc3Bvc2l0aW9uPWF0dGFjaG1lbnQlM0JmaWxlbmFtZSUzRCUyMmtvdGxpbi1hbmRyb2lkLWV4dGVuc2lvbnMtMS4zLjUwLmphciUyMiIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTU5NzI0NzU5M30sIklwQWRkcmVzcyI6eyJBV1M6U291cmNlSXAiOiIwLjAuMC4wLzAifX19XX0_&Signature=Z70Lbuo1ZspufpmMqtHammh1RqmSTCp7mFilKZZW6iNe592-zJjvEn6-siIWTuinM0brBx6MPI1iMYd08iXERyqUzto0BSAWG8Rp213YrQsPF7S0sM7S-WKcMqAqATqot9jhaLrSDO62pBb3rTCBnVHzGyhDYoQvqOMo5PI7QFbCaQnfBImBu6WqDbK7xX1sOFurGzqTxJDHiCvcs6fdz2a9p3e0p-qAN0oB261u5ftoNJCZWRWFTdbanabcRuyGj90XEUwv10QAu57AzcwGDCJFy57sXTf5YF5T52KTjMilbALNxRVEcymOIZ7NHpDXPdCe0KGdcAt4F7k7DEXg__&Key-Pair-Id=APKAIFKFWOMXM2UMTSFA’.
> d29vzk4ow07wi7.cloudfront.net
Could not download kotlin-compiler-embeddable.jar (org.jetbrains.kotlin:kotlin-compiler-embeddable:1.3.50)
> Could not get resource ‘https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-compiler-embeddable/1.3.50/kotlin-compiler-embeddable-1.3.50.jar’.
> Could not GET ‘https://d29vzk4ow07wi7.cloudfront.net/00684f6e1f08c639d4476170fc0d1a2ab04414c8383513e241adc76afeead1fa?response-content-disposition=attachment%3Bfilename%3D%22kotlin-compiler-embeddable-1.3.50.jar%22&Policy=eyJTdGF0ZW1lbnQiOiBbeyJSZXNvdXJjZSI6Imh0dHAqOi8vZDI5dnprNG93MDd3aTcuY2xvdWRmcm9udC5uZXQvMDA2ODRmNmUxZjA4YzYzOWQ0NDc2MTcwZmMwZDFhMmFiMDQ0MTRjODM4MzUxM2UyNDFhZGM3NmFmZWVhZDFmYT9yZXNwb25zZS1jb250ZW50LWRpc3Bvc2l0aW9uPWF0dGFjaG1lbnQlM0JmaWxlbmFtZSUzRCUyMmtvdGxpbi1jb21waWxlci1lbWJlZGRhYmxlLTEuMy41MC5qYXIlMjIiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE1OTcyNDgwMjV9LCJJcEFkZHJlc3MiOnsiQVdTOlNvdXJjZUlwIjoiMC4wLjAuMC8wIn19fV19&Signature=EmHnkmYLdt4EFJwpOe4IPq337aeb7NkdhTKQA0K9-h2v9QhT7cUqorKA6i7fcXXqz2GCRkH2cSHGkBlGpH1qK9XktJ3IPmJG32Fp7hCJlYy5VUFgCceBmiSjVmTQ6QzgTWNd8tCnEtlw1NyzcyWgW–gXSSCxaZnUsJbnUcl1iqQZ7KjjDwPTuraTKDghY5YWWhPc4LhYhQiYLGzmbjFMfJuQ3ddFFEzhzt8qvdoT1BCuBZR7ECye135OR15CiRbiGzxwqvl9VKcgls48~HtoTrZrTDOqYljUsqgiwIk8sZNlUk77xaw8WN-SzkyuFkPZOUJG9hZY3QLESeg__&Key-Pair-Id=APKAIFKFWOMXM2UMTSFA’.
> d29vzk4ow07wi7.cloudfront.net
Could not download kotlin-scripting-compiler-embeddable.jar (org.jetbrains.kotlin:kotlin-scripting-compiler-embeddable:1.3.50)
> Could not get resource ‘https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-scripting-compiler-embeddable/1.3.50/kotlin-scripting-compiler-embeddable-1.3.50.jar’.
> Could not GET ‘https://d29vzk4ow07wi7.cloudfront.net/baa76bdc840a1b7ffc88c5d6e327b75a37118a44e60deae56d71d408fd1c8ac5?response-content-disposition=attachment%3Bfilename%3D%22kotlin-scripting-compiler-embeddable-1.3.50.jar%22&Policy=eyJTdGF0ZW1lbnQiOiBbeyJSZXNvdXJjZSI6Imh0dHAqOi8vZDI5dnprNG93MDd3aTcuY2xvdWRmcm9udC5uZXQvYmFhNzZiZGM4NDBhMWI3ZmZjODhjNWQ2ZTMyN2I3NWEzNzExOGE0NGU2MGRlYWU1NmQ3MWQ0MDhmZDFjOGFjNT9yZXNwb25zZS1jb250ZW50LWRpc3Bvc2l0aW9uPWF0dGFjaG1lbnQlM0JmaWxlbmFtZSUzRCUyMmtvdGxpbi1zY3JpcHRpbmctY29tcGlsZXItZW1iZWRkYWJsZS0xLjMuNTAuamFyJTIyIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNTk3MjQ3Njk4fSwiSXBBZGRyZXNzIjp7IkFXUzpTb3VyY2VJcCI6IjAuMC4wLjAvMCJ9fX1dfQ__&Signature=JkxzNOW2aAUP3c6SnJH558I3RBSa5awpKEzgOvZWBRlphUFmOumt9m5-4id9bXDRUSwhpLY1szMl6wT0fmUiQlpWUxAgnUK3L-duk-AyQnPl1G8WC463bOVbyiINiY0W6f2B0Ajo8ZRUik5Zf0BWbTWkpQKuNYtBSZsmzcc2e3Pw-AaLnD-KWF7riovYZGShbBr5cWk1HPyUQb2DqUpakfyYYCtAk2XYo3HvEDty8A8TGjLaxYjxdfYyITmcflvK3rU2Zz7LTHKcfiTr0U9tedQ0gmASfvkQyUQnfueHi2o75fnFKDZYAgDqcjhYxyOxHX7vBfgpOA__&Key-Pair-Id=APKAIFKFWOMXM2UMTSFA’.
> d29vzk4ow07wi7.cloudfront.net
Could not download kotlin-scripting-compiler-impl-embeddable.jar (org.jetbrains.kotlin:kotlin-scripting-compiler-impl-embeddable:1.3.50)
> Could not get resource ‘https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-scripting-compiler-impl-embeddable/1.3.50/kotlin-scripting-compiler-impl-embeddable-1.3.50.jar’.
> Could not GET ‘https://d29vzk4ow07wi7.cloudfront.net/4ab8accc2bff60ae6d767f7e96036f0f8807e21bf758362e023e3ea57c4e490f?response-content-disposition=attachment%3Bfilename%3D%22kotlin-scripting-compiler-impl-embeddable-1.3.50.jar%22&Policy=eyJTdGF0ZW1lbnQiOiBbeyJSZXNvdXJjZSI6Imh0dHAqOi8vZDI5dnprNG93MDd3aTcuY2xvdWRmcm9udC5uZXQvNGFiOGFjY2MyYmZmNjBhZTZkNzY3ZjdlOTYwMzZmMGY4ODA3ZTIxYmY3NTgzNjJlMDIzZTNlYTU3YzRlNDkwZj9yZXNwb25zZS1jb250ZW50LWRpc3Bvc2l0aW9uPWF0dGFjaG1lbnQlM0JmaWxlbmFtZSUzRCUyMmtvdGxpbi1zY3JpcHRpbmctY29tcGlsZXItaW1wbC1lbWJlZGRhYmxlLTEuMy41MC5qYXIlMjIiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE1OTcyNDc4ODJ9LCJJcEFkZHJlc3MiOnsiQVdTOlNvdXJjZUlwIjoiMC4wLjAuMC8wIn19fV19&Signature=Taiw4-MWliqHyrgopJSy5kv66khVerTdtR1E305OYQSRMxbzVPqimf7UETKmtoiCVkn2QtVj5VJyL3zcYXTog12i0qSdnXb3F1VzJWCfoFbCRrnEVWnYQnnJWi5nHjsHrMQUk2r4o5WJjuccdkjM7aCqFs9Qcvj-E1KY3B9A2GiCp90nEtdgO2wz4qIiaD47Nh5sruXRn7KVwmpzvbL5y3ctHcgKaf-erWHZ0DpceoB0QIQtyKbxoVS7800u1Lo1iL1vLLhtl2uf6Kk1fzOmKLAzqAA7V-dSI2ZVNxYC9CAy2Xw2OBbPedEcd44eaDhE-9dbfxJou35FtOZfZmNg__&Key-Pair-Id=APKAIFKFWOMXM2UMTSFA’.
> d29vzk4ow07wi7.cloudfront.net
Could not download kotlin-daemon-client.jar (org.jetbrains.kotlin:kotlin-daemon-client:1.3.50)
> Could not get resource ‘https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-daemon-client/1.3.50/kotlin-daemon-client-1.3.50.jar’.
> Could not GET ‘https://d29vzk4ow07wi7.cloudfront.net/ab6f1bd22873122cdc67915b73274f9272c744467daaa0d2a293b8c24b8afab6?response-content-disposition=attachment%3Bfilename%3D%22kotlin-daemon-client-1.3.50.jar%22&Policy=eyJTdGF0ZW1lbnQiOiBbeyJSZXNvdXJjZSI6Imh0dHAqOi8vZDI5dnprNG93MDd3aTcuY2xvdWRmcm9udC5uZXQvYWI2ZjFiZDIyODczMTIyY2RjNjc5MTViNzMyNzRmOTI3MmM3NDQ0NjdkYWFhMGQyYTI5M2I4YzI0YjhhZmFiNj9yZXNwb25zZS1jb250ZW50LWRpc3Bvc2l0aW9uPWF0dGFjaG1lbnQlM0JmaWxlbmFtZSUzRCUyMmtvdGxpbi1kYWVtb24tY2xpZW50LTEuMy41MC5qYXIlMjIiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE1OTcyNDgwMjV9LCJJcEFkZHJlc3MiOnsiQVdTOlNvdXJjZUlwIjoiMC4wLjAuMC8wIn19fV19&Signature=PFNoJxuQ7j5itU6cPbU4EPju4e0nMfgdtZIYKMw7ifWv6ecPhDjtd-9H84fmm0T7cg2bXEixKdiXJC1qhOz9ukekMWGE6YxhQdQcoDTw9So5qYXATDY-XQgUxnwBvQTMdIHoDW7VIbXtMVpP63RSiEK-zUvrtJBHZpqqPTxUb3hJCEkLTQ1rhUxEc7QRRDJRfUXxYpK1sMLsis7ssrM5FTsB41xpigsZPY5nP8vsjz5rHYvcYHAxY9JznYFUcxmy67GsIemh732Th9bCQtlFkgNXYIbx228EKkGS6bym-1mK1GyD1yW~ToLKypH403zMHvsN3Fe0DgLC6A__&Key-Pair-Id=APKAIFKFWOMXM2UMTSFA’.
> d29vzk4ow07wi7.cloudfront.net
Could not download kotlin-reflect.jar (org.jetbrains.kotlin:kotlin-reflect:1.3.50)
> Could not get resource ‘https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-reflect/1.3.50/kotlin-reflect-1.3.50.jar’.
> Could not GET ‘https://d29vzk4ow07wi7.cloudfront.net/64583199ea5a54aefd1bd1595288925f784226ee562d1dd279011c6075b3d7a4?response-content-disposition=attachment%3Bfilename%3D%22kotlin-reflect-1.3.50.jar%22&Policy=eyJTdGF0ZW1lbnQiOiBbeyJSZXNvdXJjZSI6Imh0dHAqOi8vZDI5dnprNG93MDd3aTcuY2xvdWRmcm9udC5uZXQvNjQ1ODMxOTllYTVhNTRhZWZkMWJkMTU5NTI4ODkyNWY3ODQyMjZlZTU2MmQxZGQyNzkwMTFjNjA3NWIzZDdhND9yZXNwb25zZS1jb250ZW50LWRpc3Bvc2l0aW9uPWF0dGFjaG1lbnQlM0JmaWxlbmFtZSUzRCUyMmtvdGxpbi1yZWZsZWN0LTEuMy41MC5qYXIlMjIiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE1OTcyNDc3OTN9LCJJcEFkZHJlc3MiOnsiQVdTOlNvdXJjZUlwIjoiMC4wLjAuMC8wIn19fV19&Signature=VD4TaTPzFe7qRm-t4AdBDc1d5x5Mn8nct3ZTCbRMqlefNBlxo25VxEq7jIE4rI8hIzO1S4VaoGdAWpoc7RHau-4ZXpHhAV~~UiIogT-v0lt7UfJpH76E7GPAKg5mFA1Z67ijHbQYdEgyXhZa0KiU4f8THkM3iRAwM3oAcwh8jfvBlEa3uEQy6MErztsEV4DjRYc2tEfwhlD9zE74Ox9jJ9Dgnhb6HRmhbI-TBr8HxnnnBoeCyiWDIzfnYMeSfQdH2g3wNM96jfaFX~WyqDChBriZ5sVdCrnmT2QSBWD16ry5zmR8fpHqeKYFiV3dNkQdQNoIJx9sWrDNXsWhcw__&Key-Pair-Id=APKAIFKFWOMXM2UMTSFA’.
> d29vzk4ow07wi7.cloudfront.net
Could not download kotlin-stdlib.jar (org.jetbrains.kotlin:kotlin-stdlib:1.3.50)
> Could not get resource ‘https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-stdlib/1.3.50/kotlin-stdlib-1.3.50.jar’.
> Could not GET ‘https://d29vzk4ow07wi7.cloudfront.net/e6f05746ee0366d0b52825a090fac474dcf44082c9083bbb205bd16976488d6c?response-content-disposition=attachment%3Bfilename%3D%22kotlin-stdlib-1.3.50.jar%22&Policy=eyJTdGF0ZW1lbnQiOiBbeyJSZXNvdXJjZSI6Imh0dHAqOi8vZDI5dnprNG93MDd3aTcuY2xvdWRmcm9udC5uZXQvZTZmMDU3NDZlZTAzNjZkMGI1MjgyNWEwOTBmYWM0NzRkY2Y0NDA4MmM5MDgzYmJiMjA1YmQxNjk3NjQ4OGQ2Yz9yZXNwb25zZS1jb250ZW50LWRpc3Bvc2l0aW9uPWF0dGFjaG1lbnQlM0JmaWxlbmFtZSUzRCUyMmtvdGxpbi1zdGRsaWItMS4zLjUwLmphciUyMiIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTU5NzI0NzkwOX0sIklwQWRkcmVzcyI6eyJBV1M6U291cmNlSXAiOiIwLjAuMC4wLzAifX19XX0_&Signature=iokW7CENWrVirvKPzsTN75L8Hd1y2JftcfUDVBkT1ATBfdnpHWTjQitDdqafCCXqXMrAsp7Fg1dNCHi6WbZSBnAN5wtjJm3vcj6ITXsOTQk-6LOv5M7okVo6fCtms9epr5NaUfgLkbjYzCO8ZSH8VNjvndExDU3JNnbBxurAcs-pwkD4ZXlqvHlhJjsQFPmFf9MdDm0zEEVJH6tZgsAemaOmS41ZfTGTEjrOnVOCuEb~a1X1nO0PmgHsT-JRM54cMhSgZzdhd9ef-wFSuPuOcS-OUj4dPqy0T0QA2Bf6n5VoEPjTHvDaeVnXV0YX87gAI2EQpAcZmO1SnHiKrscA__&Key-Pair-Id=APKAIFKFWOMXM2UMTSFA’.
> d29vzk4ow07wi7.cloudfront.net
Could not download gson.jar (com.google.code.gson:gson:2.8.5)
> Could not get resource ‘https://jcenter.bintray.com/com/google/code/gson/gson/2.8.5/gson-2.8.5.jar’.
> Could not GET ‘https://d29vzk4ow07wi7.cloudfront.net/233a0149fc365c9f6edbd683cfe266b19bdc773be98eabdaf6b3c924b48e7d81?response-content-disposition=attachment%3Bfilename%3D%22gson-2.8.5.jar%22&Policy=eyJTdGF0ZW1lbnQiOiBbeyJSZXNvdXJjZSI6Imh0dHAqOi8vZDI5dnprNG93MDd3aTcuY2xvdWRmcm9udC5uZXQvMjMzYTAxNDlmYzM2NWM5ZjZlZGJkNjgzY2ZlMjY2YjE5YmRjNzczYmU5OGVhYmRhZjZiM2M5MjRiNDhlN2Q4MT9yZXNwb25zZS1jb250ZW50LWRpc3Bvc2l0aW9uPWF0dGFjaG1lbnQlM0JmaWxlbmFtZSUzRCUyMmdzb24tMi44LjUuamFyJTIyIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNTk3MjQ3NTc4fSwiSXBBZGRyZXNzIjp7IkFXUzpTb3VyY2VJcCI6IjAuMC4wLjAvMCJ9fX1dfQ__&Signature=lixNSKfnLPXy-jUQ8ek4o5Bjmv30XiKc1TGDWwKQ2YsXts-3nGBhNxbB1tR4MHizTgbcfGWCuKlZZeA6fNaopbJuBGCFD6uCCyrzJkt7npRkDcw4XeDYgNuNvh1o8Wx04vUfZiELSYAeHivzkQiU3t3CL3MTYob-1WBGDNouPnL-kKtPHj6k7MY1ML5FCzXv0cyZxiFFjsvXN81vEdKSDRg-MMZx-eDJiFrplO4CHsHJ-dBIXMn4S~afuAAECXSq8sTEYfrbC5zSnkGRSczUyPQ6bf3lbw0iUmbnKqNSgDkRzyTrEaEa6u8WZkTU9ka0tgM-cGpfdBi1xx38dQ__&Key-Pair-Id=APKAIFKFWOMXM2UMTSFA’.
> d29vzk4ow07wi7.cloudfront.net
Could not download fastutil.jar (it.unimi.dsi:fastutil:7.2.0)
> Could not get resource ‘https://jcenter.bintray.com/it/unimi/dsi/fastutil/7.2.0/fastutil-7.2.0.jar’.
> Could not GET ‘https://d29vzk4ow07wi7.cloudfront.net/74fa208043740642f7e6eb09faba15965218ad2f50ce3020efb100136e4b591c?response-content-disposition=attachment%3Bfilename%3D%22fastutil-7.2.0.jar%22&Policy=eyJTdGF0ZW1lbnQiOiBbeyJSZXNvdXJjZSI6Imh0dHAqOi8vZDI5dnprNG93MDd3aTcuY2xvdWRmcm9udC5uZXQvNzRmYTIwODA0Mzc0MDY0MmY3ZTZlYjA5ZmFiYTE1OTY1MjE4YWQyZjUwY2UzMDIwZWZiMTAwMTM2ZTRiNTkxYz9yZXNwb25zZS1jb250ZW50LWRpc3Bvc2l0aW9uPWF0dGFjaG1lbnQlM0JmaWxlbmFtZSUzRCUyMmZhc3R1dGlsLTcuMi4wLmphciUyMiIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTU5NzI0NzU3Mn0sIklwQWRkcmVzcyI6eyJBV1M6U291cmNlSXAiOiIwLjAuMC4wLzAifX19XX0_&Signature=R76ktqRMF0K89zvhX3NCDOGuyfGM5fliSh6yYrv4keTZIG5lyI1A-r7gvu01jB7yHD6DErikqsHpDPKuC1XNumgOp7obCb1qCv4W6DOq3VBefL2EhRrQM5ereuOz7Nd0fqyOeOhOCML5Jz7GSB5YqdqHw5z0J2HrhHE5Xxo1J39CbrodCPJuDfuP4y7c34bEO1TfiFY9oFA4HTKXdd7Oa5CQAC7CljHZWPLtYWKKaNW46ztrAYxqnBZ81kADNOGV2uZqgVyRoGDeXE1RckSvwRzdVSb7x36IdU7cfvpTPjAUMK0Hn-cdobjypZbdwqfh9dNXQplKx99t6-htOw__&Key-Pair-Id=APKAIFKFWOMXM2UMTSFA’.
> d29vzk4ow07wi7.cloudfront.net
-
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. -
Get more help at https://help.gradle.org
BUILD FAILED in 40s
二
FAILURE: Build failed with an exception.
-
Where:
Build file ‘E:\andriodStu\waitnew\appwait\android\app\build.gradle’ line: 26 -
What went wrong:
A problem occurred evaluating project ‘:app’.
Could not resolve all artifacts for configuration ‘classpath’.
Could not download kotlin-reflect.jar (org.jetbrains.kotlin:kotlin-reflect:1.3.41)
> Could not get resource ‘https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-reflect/1.3.41/kotlin-reflect-1.3.41.jar’.
> Could not GET ‘https://d29vzk4ow07wi7.cloudfront.net/01d469878c6853a607baaadf869c7474b971abe6dd2cb74f244bea0ffb453c76?response-content-disposition=attachment%3Bfilename%3D%22kotlin-reflect-1.3.41.jar%22&Policy=eyJTdGF0ZW1lbnQiOiBbeyJSZXNvdXJjZSI6Imh0dHAqOi8vZDI5dnprNG93MDd3aTcuY2xvdWRmcm9udC5uZXQvMDFkNDY5ODc4YzY4NTNhNjA3YmFhYWRmODY5Yzc0NzRiOTcxYWJlNmRkMmNiNzRmMjQ0YmVhMGZmYjQ1M2M3Nj9yZXNwb25zZS1jb250ZW50LWRpc3Bvc2l0aW9uPWF0dGFjaG1lbnQlM0JmaWxlbmFtZSUzRCUyMmtvdGxpbi1yZWZsZWN0LTEuMy40MS5qYXIlMjIiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE1OTcyNzc1NTF9LCJJcEFkZHJlc3MiOnsiQVdTOlNvdXJjZUlwIjoiMC4wLjAuMC8wIn19fV19&Signature=b28cpqEoHYWiDAChR8QACBchEssJNFWrG4c4-yvEwbig8lcwSYfyVOwWm3OuXtTT-POYGupsbbBiv2Xm8IrhMaCVZYpdOWVRI5Rc4E-oGwtYeT1RlaCmg2j9DB1HZElA54PDVBsT63ncFbPUlksZDVJ24vb5rYK3cydTXoI1goea7iXyemGWBY0zscH44fD-LmjrYQh7cl7w-whf-y3-nmKh-BmMlGfjL3cVZZ47XRYzzMU9-cjYInGkNHtOyxKWwMW7kXbzqLweg9z9O2FjT~EYY1hlGE4d9okvG7oSEtUuTfGy6scBhgkJXiDXtfg24O67xdNXuc2SzwR41VNg__&Key-Pair-Id=APKAIFKFWOMXM2UMTSFA’.
> d29vzk4ow07wi7.cloudfront.net
Could not download kotlin-stdlib.jar (org.jetbrains.kotlin:kotlin-stdlib:1.3.41)
> Could not get resource ‘https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-stdlib/1.3.41/kotlin-stdlib-1.3.41.jar’.
> Could not GET ‘https://d29vzk4ow07wi7.cloudfront.net/6ea3d0921b26919b286f05cbdb906266666a36f9a7c096197114f7495708ffbc?response-content-disposition=attachment%3Bfilename%3D%22kotlin-stdlib-1.3.41.jar%22&Policy=eyJTdGF0ZW1lbnQiOiBbeyJSZXNvdXJjZSI6Imh0dHAqOi8vZDI5dnprNG93MDd3aTcuY2xvdWRmcm9udC5uZXQvNmVhM2QwOTIxYjI2OTE5YjI4NmYwNWNiZGI5MDYyNjY2NjZhMzZmOWE3YzA5NjE5NzExNGY3NDk1NzA4ZmZiYz9yZXNwb25zZS1jb250ZW50LWRpc3Bvc2l0aW9uPWF0dGFjaG1lbnQlM0JmaWxlbmFtZSUzRCUyMmtvdGxpbi1zdGRsaWItMS4zLjQxLmphciUyMiIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTU5NzI3ODEzNn0sIklwQWRkcmVzcyI6eyJBV1M6U291cmNlSXAiOiIwLjAuMC4wLzAifX19XX0_&Signature=dB3nkGj0VcV5rpaTh0zXPFjeBrlm8wMQmTQhOYWiRyrKUzHdBi1H3G0rumSaGyjdfUUrnZP5BtyOLTu6gtKuphtNZ-zt2AJpF68DkUUgBLkGdnmNHHw-Ohw9Xz521CrGcEJtV74JDbYBJQRk9WlrUiFgllVVibzy6lrmRwl7OWVWxB7WEQaVO6iL3Ty5MjMAl0boba4ryoW607SNzSJaLpHlsU8Ktal6cVHcVis7cp3YHXOwSXxgkfY4TGgqADd0KC6bqWhctuIkrZf3a9ObVCGikZEKu6qZmCIHTMtVGSgO88asvmczdKWSKmY7beeWS7zWX8rJ19xxdkchjA__&Key-Pair-Id=APKAIFKFWOMXM2UMTSFA’.
> d29vzk4ow07wi7.cloudfront.net
-
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. -
Get more help at https://help.gradle.org
BUILD FAILED in 4m 42s
三
FAILURE: Build failed with an exception.
-
Where:
Build file ‘E:\andriodStu\waitnew\appwait\android\app\build.gradle’ line: 25 -
What went wrong:
A problem occurred evaluating project ‘:app’.
Plugin with id ‘kotlin-android’ not found.
-
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. -
Get more help at https://help.gradle.org
BUILD FAILED in 39s
解决方案
gradle-wrapper.properties 中
中将distributionUrl改为本机的包
distributionUrl=file:///E:/Gradle/gradle-5.6.2-all.zip
build.gradle中
buildscript {
ext.kotlin_version = ‘1.3.72’//改为本机安装的版本,我的是andriodStu自带的(
//参考:https://blog.csdn.net/qq_31545245/article/details/103831890
//)
repositories {
google()
mavenCentral() //add
jcenter()
}
dependencies {
classpath ‘com.android.tools.build:gradle:3.5.0’
classpath “org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version”
}
}
allprojects {
repositories {
google()
mavenCentral() //add
jcenter()
}
}
本文地址:https://blog.csdn.net/longqiyuye925/article/details/107992925
下一篇: SpringBoot快速入门
推荐阅读
-
在IIS上部署 .Net Core 3.0 项目踩坑实录
-
事务可重复读采坑
-
vue 做移动端微信公众号采坑经验记录
-
详解babel升级到7.X采坑总结
-
uniapp之w-picker使用采坑
-
vue的采坑之旅--vue-cli脚手架loader重复--Invalid CSS after "...load the styles": expected 1 selector or at-rule
-
聊聊.netcore采坑那一些事之系统时间and文件路径
-
SpringCloud入门hello world,SpringBoot2.1.3,附采坑经历
-
Flutter:最难搞的搭建环境,一次性成功!(新手踩坑)
-
从APP跳转到微信指定联系人聊天页面功能的实现与采坑之旅