一.出現以下提示
the section cannot be launched and there are no recent launches
當項目中出現
未選中工程.png
修改方法:
選中需要運行的工程即可
二.出現的以下情況
No enclosing instance of type TestDog is accessible. Must qualify the allocation with an enclosing instance of type TestDog (e.g. x.new A() where x is an instance of TestDog).
解決方法:
http://www.tuicool.com/articles/RFrANzr
第二種方法我測試OK的 第一種方法嘗試如下:
第一種方法.png