Today when I used Android Studio, I couldn't see more information when I clicked "more" or pressed Ctrl+F1.
The Event Log information shows NullPointerException: null
.
您应该删除return
语句,因为该方法在开始时具有返回值的void类型。如果需要添加return,请将void更改为int,float之类的(根据需要)。
我发现这是由于Theme插件的问题所致,卸载后就可以了。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.