2013-11-04 61 views
3

我正試圖在我的應用中整合google +1選項。 我在馬的應用程序導入谷歌Play服務庫,我做了所有前面的步驟一樣使G + API XML。當我嘗試添加谷歌加號按鈕xml文件中,我得到以下錯誤以下類無法實例化?

  The following classes could not be instantiated: 
      - com.google.android.gms.plus.PlusOneButton (Open Class, Show Error Log)    
      See the Error Log (Window > Show View) for more details. 
+1

查看錯誤日誌以獲取更多詳細信息......最可能的原因是您沒有在您的應用程序中包含此框架。 –

+0

@MattClark'com.google.android.gms.plus.PlusOneButton未能實例化'這是錯誤消息 – Asthme

+0

這是描述性的... Yay Google!你在應用程序中包含了.jar文件嗎? LogCat還提供更多信息嗎? –

回答

0

我有同樣的問題與TitlePageIndicator。 我的理由 - 清單中的類定義錯誤。 (在更新項目中複製/過去錯誤)。

相關問題