UPDATE:感謝jgoldberger我已經解決了這個使用Xamarin:Java綁定項目 - 無法更改本地接口的知名度
<remove-node path="/api/package[@name='com.spotify.sdk.android.authentication']/interface[@name='AuthenticationClient.AuthenticationCompleteListener']" />
我想創建爲Android SDK的Spotify一個Java綁定項目。 我已經使用Metadata.xml解決了大多數問題,但是我無法解決最後一個問題。
在類AuthenticationClient內部的SDK中有一個私有接口AuthenticationCompleteListener。
我一直在使用
<attr path="/api/package[@name='com.spotify.sdk.android.authentication']/class[@name='AuthenticationClient.AuthenticationCompleteListener']" name="visibility">public</attr>
和各種變化,包括
<attr path="/api/package[@name='com.spotify.sdk.android.authentication']/class[@name='AuthenticationClient']/interface[@name='AuthenticationCompleteListener']" name="visibility">public</attr>
然而
試過,當建築我得到以下錯誤:
error: AuthenticationCompleteListener is not public in AuthenticationClient; cannot be accessed from outside package.
我能做些什麼?
謝謝你幫了
弗雷德
最後這本來是工作。謝謝你的回覆!在我的情況下,我不得不使用' '再次感謝。 –
Fhl
2015-04-07 12:04:41
是@Fhl ........在我的情況下,我也嘗試過同樣的事情,現在工作正常,謝謝 – GvSharma 2017-06-28 09:12:58