How to rectify the errors in the autogenerated IMarketBillingService.java file?

前端 未结 4 1240
难免孤独
难免孤独 2021-01-03 19:13

I am trying to implement In app billing service in my Andorid application.

I\'ve added the IMarketBillingService.aidl file to my project in

4条回答
  •  猫巷女王i
    2021-01-03 19:50

    The reason is, that Java 1.5 does not support overriding interface methods. https://stackoverflow.com/a/212642/1283492 From Java 1.6 onwards it is allowed. Thus as already stated by easycheese, one needs to put Java 1.6 or higher in the java compiler settings of the project properties.

提交回复
热议问题