“cannot find symbol method setBatchPath(String)” in the generated source from generated endpoint

后端 未结 3 1014
天涯浪人
天涯浪人 2020-12-30 01:48

For an unknown reason, when I tried to build my Google App Engine endpoints, I get these errors in all of the API java files generated by Android Studio:

Err

3条回答
  •  没有蜡笔的小新
    2020-12-30 01:56

    Same thing happened to me this morning.

    I resolved it by adding this in my backend project

    appengine {
        endpoints {
            googleClientVersion = '1.23.0'
        }
    }
    

    and updating this version in my app gradle file.

    implementation('com.google.api-client:google-api-client-android:1.23.0')
    

提交回复
热议问题