ThaiSEOBoard.com

พัฒนาเว็บไซต์ => Programming => ข้อความที่เริ่มโดย: m3030001 ที่ 19 มกราคม 2019, 13:26:07



หัวข้อ: android studio 3.3 บิ้วไม่ออกทำไงครับ
เริ่มหัวข้อโดย: m3030001 ที่ 19 มกราคม 2019, 13:26:07
ปัญหานี้แก้ไงครับ

ERROR: Unsupported method: AndroidProject.getVariantNames().
The version of Gradle you connect to does not support that method.
To resolve the problem you can change/upgrade the target version of Gradle you connect to.
Alternatively, you can ignore this exception and read other information from the model.


หัวข้อ: Re: android studio 3.3 บิ้วไม่ออกทำไงครับ
เริ่มหัวข้อโดย: pongploydev ที่ 26 มกราคม 2019, 21:36:54
ลองไป เปลี่ยน ที่   distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip in gradle-wrapper.properties  ในตัว  in gradle-wrapper.properties

แล้วเพิ่มที่ And classpath 'com.android.tools.build:gradle:3.2.1' in build.gradle (project level).  นะครับ  :wanwan003: