第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定

Exception raised during rendering: com.android.layoutlib.bridge.MockView cannot be cast to android.view.ViewGroup

Exception details are logged in Window > Show View > Error Log

The following classes could not be instantiated:

- com.example.stock.slidingmenu.view.SlidingMenu (Open Class, Show Error Log)

See the Error Log (Window > Show View) for more details.

Tip: Use View.isInEditMode() in your custom views to skip code when shown in Eclipse


java.lang.NullPointerException

? ? at com.example.stock.slidingmenu.view.SlidingMenu.<init>(SlidingMenu.java:41)

? ? at sun.reflect.NativeConstructorAccessorImpl.newInstance0( ? ?at sun.reflect.NativeConstructorAccessorImpl.newInstance( ? ?at sun.reflect.DelegatingConstructorAccessorImpl.newInstance( ? ?at java.lang.reflect.Constructor.newInstance( ? ?at com.android.ide.eclipse.adt.internal.editors.layout.ProjectCallback.instantiateClass(ProjectCallback.java:422)

? ? at com.android.ide.eclipse.adt.internal.editors.layout.ProjectCallback.loadView(ProjectCallback.java:179)

? ? at android.view.BridgeInflater.loadCustomView(BridgeInflater.java:207)

? ? at android.view.BridgeInflater.createViewFromTag(BridgeInflater.java:135)

? ? at android.view.LayoutInflater.rInflate_Original(LayoutInflater.java:739)

? ? at android.view.LayoutInflater_Delegate.rInflate(LayoutInflater_Delegate.java:64)

? ? at android.view.LayoutInflater.rInflate(LayoutInflater.java:711)

? ? at android.view.LayoutInflater.inflate(LayoutInflater.java:489)

? ? at android.view.LayoutInflater.inflate(LayoutInflater.java:372)


正在回答

4 回答

你好,我看了你完整的log;建議先解決Exception raised during rendering: com.android.layoutlib.bridge.MockView cannot be cast to android.view.ViewGroup 。 下面有幾種可能的情況:1、是否在項(xiàng)目結(jié)構(gòu)中建立了無關(guān)的文件夾;2、資源的名稱命名是否合法;3、詳細(xì)檢查下布局文件,看看有沒有在某個(gè)View里面寫了子View,比如你會(huì)不會(huì)把LinearLayout寫成了某個(gè)View,或者自定義ViewGroup是否繼承自ViewGroup。

2 回復(fù) 有任何疑惑可以回復(fù)我~
#1

BB_0012

厲害厲害!
2016-03-28 回復(fù) 有任何疑惑可以回復(fù)我~
我用百分比布局也出現(xiàn)這個(gè)錯(cuò)誤??再別的項(xiàng)目中是可以的???因?yàn)橐肓薙lidingMenu和ActionSherkLock,之后就不行了。。


0 回復(fù) 有任何疑惑可以回復(fù)我~

Exception raised during rendering: com.android.layoutlib.bridge.MockView cannot be cast to android.view.ViewGroup

The following classes could not be instantiated:

- com.handmark.pulltorefresh.library.PullToRefreshScrollView (Open Class, Show Error Log)


0 回復(fù) 有任何疑惑可以回復(fù)我~

小伙伴,你的問題解決了嗎?我的也出現(xiàn)這個(gè)問題了,我是用的com.handmark.pulltorefresh.library.PullToRefreshScrollView,這個(gè)。

0 回復(fù) 有任何疑惑可以回復(fù)我~

舉報(bào)

0/150
提交
取消
QQ5.0側(cè)滑菜單
  • 參與學(xué)習(xí)       62515    人
  • 解答問題       305    個(gè)

本教程將帶領(lǐng)大家通過自定義控件實(shí)現(xiàn)QQ5.0側(cè)滑菜單

進(jìn)入課程
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)