2017-04-21 19 views
0

私はAA(Android Annotations)でプロジェクトを作成していますが、時には実行し、別の時にこのエラーを表示します。android annotationsエラー:(52,42)エラー:シンボルクラスを見つけることができませんActivity_

ヘルプ!

エラーコード:

Information:Gradle tasks [:app:clean, :app:generateDebugSources, :app:generateDebugAndroidTestSources, :app:mockableAndroidJar, :app:prepareDebugUnitTestDependencies, :app:assembleDebug] 
/Users/MacDeveloper/Desktop/projectTest/app/src/main/java/co/com/barricade/model/push/FCMService.java 
Error:(30, 25) error: cannot find symbol class MasterActivity_ 
/Users/MacDeveloper/Desktop/projectTest/app/src/main/java/co/com/barricade/ui/content/categorias/CategoriasBigListFragment.java 
Error:(52, 42) error: cannot find symbol class SucursalActivity_ 
/Users/MacDeveloper/Desktop/projectTest/app/src/main/java/co/com/barricade/ui/MasterActivity.java 
Error:(82, 40) error: cannot find symbol class OfertaActivity_ 
Error:(86, 42) error: cannot find symbol class SucursalActivity_ 
Error:(89, 38) error: cannot find symbol class PerfilActivity_ 
Error:(90, 38) error: cannot find symbol class PreferenciasCategoriasActivity_ 
Error:(91, 38) error: cannot find symbol class TerminiosYCondicionesActivity_ 
Error:(92, 48) error: cannot find symbol class HistorialCuponesActivity_ 
Error:(94, 53) error: cannot find symbol class NotificacionesActivity_ 
Error:(97, 31) error: cannot find symbol class LoginActivity_ 
/Users/MacDeveloper/Desktop/projectTest/app/src/main/java/co/com/barricade/ui/content/categorias/CategoriasSmallListFragment.java 
Error:(53, 42) error: cannot find symbol class SucursalActivity_ 
/Users/MacDeveloper/Desktop/projectTest/app/src/main/java/co/com/barricade/ui/content/categorias/CategoriasMapFragment.java 
Error:(54, 42) error: cannot find symbol class SucursalActivity_ 
/Users/MacDeveloper/Desktop/projectTest/app/src/main/java/co/com/barricade/ui/content/cercadeti/almacenes/CercaDeTiAlmacenesBigListFragment.java 

Error:(70, 5) error: org.androidannotations.annotations.Background can only be used in a class annotated with @org.androidannotations.annotations.EApplication, @interface org.androidannotations.annotations.EActivity, @interface org.androidannotations.annotations.EViewGroup, @interface org.androidannotations.annotations.EView, @interface org.androidannotations.annotations.EBean, @interface org.androidannotations.annotations.EService, @interface org.androidannotations.annotations.EIntentService, @interface org.androidannotations.annotations.EReceiver, @interface org.androidannotations.annotations.EProvider, @interface org.androidannotations.annotations.EFragment. 

警告:(71、20)要素getVars()BackgroundHandler エラーによって無効:実行はタスクに失敗しました ':アプリ:compileDebugJavaWithJavac'。

Compilation failed; see the compiler error output for details. Information:BUILD FAILED Information:Total time: 46.817 secs Information:92 errors Information:1 warning Information:See complete output in console

+0

コードを投稿できますか? –

+0

こんにちは@ DoronYakovlev-Golaniどのアクティビティを呼び出す場合、例 "MainActivity_.java" –

+0

クラスの最後にアンダースコアを入れますか? –

答えて

0

メソッド名の前にpublicアクセス指定子を使用していることを確認してください。 変更

private void getVars() 
to 
public void getVars() 
関連する問題