ورود

View Full Version : annotations در eclipse



A.Del Piero
شنبه 27 مهر 1392, 12:38 عصر
سلام
من با netbeans کار کردم ولی برای برنامه نویسی آندروید می خواهم با eclipse کار کنم.
1 پروژه ایجاد می کنم ران میگیرم درست کار می کنه eclipse رو میبندم باز میکنم رو folder پروژه علامت ! میاد
میرم properties/java build path/libraries
بخشandroid dependencies/annotations.jar
errore داره
این هم کد صفحه ی activity


package com.android.test;

import android.os.Bundle;
import org.apache.cordova.*;

public class TestActivity extends DroidGap {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
super.loadUrl("file:///android_asset/www/index.html");
}
}
باتشکر

javadaskari
سه شنبه 30 مهر 1392, 13:28 عصر
سلام

برا منم پیش اومده!!!
این دوتا راهو امتحان کن حتما خوب میشه :

1- پروژه رو clean کن دوباره compile کن
2-این 3 تا راهو برو :

1-DOS: del c:\user\[UserName]\.android\debug.keystore

2-ECLIPSE: In Project, Clean the project. Close Eclipse. Re-open Eclipse.

3-ECLIPSE: Start the Emulator. Remove the Application from the emulator.