我试图修复我的项目,但我无法弄清楚如何。 在开发期间一切顺利,但在共享存储并下载它之后发生此错误。 这让我很生气。谁能帮我解决这个问题?请。非常感谢!
这是我的错误:
商店报道:
答案 0 :(得分:0)
我的FirstActivity类代码
myList = dictOfSomeData.values()
itemNumberThree = myList[2] #If there's a value in that index off course...
...
public class FirstActivity extends AppCompatActivity implements View.OnClickListener {
ImageButton btnStart, btnMoreApp;
private AdView adView;
private AlertDialog alertDialog;
StartAppAd startAppAd;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.layout_first);
adView = (AdView) findViewById(R.id.adView);
startAppAd = new StartAppAd(this);
AdRequest adRequest = new AdRequest.Builder().build();
adView.loadAd(adRequest);
//ad startApp
StartAppSDK.init(this, "106697618", "200046203", true);
/** Create Splash Ad **/
StartAppAd.showSplash(this, savedInstanceState,
new SplashConfig()
.setTheme(SplashConfig.Theme.GLOOMY)
.setLogo(R.drawable.ic_launcher)
.setAppName("Photo Frame")
);
btnStart = (ImageButton) findViewById(R.id.btn_start);
btnMoreApp = (ImageButton) findViewById(R.id.btn_more_app);
btnStart.setOnClickListener(this);
btnMoreApp.setOnClickListener(this);
}
}