現在、配達ドライバー向けの Android アプリを開発中です。何ヶ月も正常に動作していましたが、「送信」ボタンを押すと突然強制終了します。
デバッグ中に、Android ライブラリに関連するあらゆる種類の実行時エラーが発生しました。
正確な場所に行くと、それぞれがソースが見つからないと言います。すべてが正常に存在し、SDK を再インストールして、すべてのファイルの場所を調べました。
助けてください
編集:
if(isOnline())
{
PODCache.clearedfordeliveryjobs.add(etDespatch.getText().toString());
new runner().execute(al_kvp);
}
PODCache は別のクラスです。これは、上記でも参照されているビットです。
public void onStart(Intent intent, int startid) {
// Run this
Toast.makeText(getApplicationContext(), "PODCache Started", 10).show();
RUNNING = true;
try {
clearedfordeliveryjobs = (ArrayList<String>) LocalPersistence
.readObjectFromFile(this, UNBLOCKEDLIST);
} catch (Exception e) {
clearedfordeliveryjobs = new ArrayList<String>();
}