parsisnotebook

بعد از کلی دانلود خسته شدم مشکل در گرادل و sdk کدومش

18 ارسال در این موضوع قرار دارد

سلام یه برنامه دارم  که مدام ارور میده هرکدوم رو برطرف میکنم یکی دیگه  از تعویض ویندوز تا ...  برنامه اصلش تموم شده فقط مونده بود دیتا بیس رو بریزم توش و تمام که  همچنان درگیر ارور ها شدم

تا 1 هفته دیگه هم باید تحویل بدم ممنون میشم دوستان کمک کنن

الان میخوام یک خروجی روی موبایل بگیرم و استارت کردم

اگه نیاز هست پروژه رو هم اپ کنم اساتید رویت کنن

با تشکر از دوستان عزیز

 

 

1.jpg

2.jpg

به اشتراک گذاری این پست


لینک به ارسال
به اشتراک گذاری در سایت های دیگر
در 5 ساعت قبل، parsisnotebook گفته است :

سلام یه برنامه دارم  که مدام ارور میده هرکدوم رو برطرف میکنم یکی دیگه  از تعویض ویندوز تا ...  برنامه اصلش تموم شده فقط مونده بود دیتا بیس رو بریزم توش و تمام که  همچنان درگیر ارور ها شدم

تا 1 هفته دیگه هم باید تحویل بدم ممنون میشم دوستان کمک کنن

الان میخوام یک خروجی روی موبایل بگیرم و استارت کردم

اگه نیاز هست پروژه رو هم اپ کنم اساتید رویت کنن

با تشکر از دوستان عزیز

 

 

1.jpg

2.jpg

سلام

خطا کاملا واضحه. شما باید اسم فولدر پروژه تونو رو انگلیسی و بدون فاصله و اسم های خاص انتخاب کنید و تو تصویر نوشته به این دلیل خطا داده میشود

 

لطفا تو اسکرین شات دوم هم خط خطا رو نمایش دهید تا بررسی کنیم خطا از کدوم دستور هستش

 

 

به اشتراک گذاری این پست


لینک به ارسال
به اشتراک گذاری در سایت های دیگر

سلام یه دنیا ممنون از کمکتون

خوب من اسم فولدر رو تغغیر دادم

حالا مجدد پلی میکنم  با این ارور مواجه میشم

این مقدار ارور تو یک برنامه نوبره :huh:

امر بفرمایید

 

3.jpg

4.jpg

به اشتراک گذاری این پست


لینک به ارسال
به اشتراک گذاری در سایت های دیگر
  1. من خطا ها رو گذاشتم لطفا محبت کنید این برنامه فورجش  تموم شده یکم بد قول شدم
  2.  

به اشتراک گذاری این پست


لینک به ارسال
به اشتراک گذاری در سایت های دیگر
در 10 ساعت قبل، parsisnotebook گفته است :
  1. من خطا ها رو گذاشتم لطفا محبت کنید این برنامه فورجش  تموم شده یکم بد قول شدم
  2.  

اینی که درج کردین متن ارور نیست

در قسمت Build روی اولین علامت قرمز کلیک کنید سمت راستش متن ارور رو نشون میده

به اشتراک گذاری این پست


لینک به ارسال
به اشتراک گذاری در سایت های دیگر

سلام اخه اروری نمیده برادرم  ارور قرمزی نیست  فقط بعد از run  برنامه اجرا نمیشه 

 

متن build

 

Executing tasks: [:app:assembleDebug]

> Task :app:buildInfoDebugLoader
> Task :app:preBuild UP-TO-DATE
> Task :app:preDebugBuild UP-TO-DATE
> Task :app:compileDebugAidl NO-SOURCE
> Task :app:compileDebugRenderscript UP-TO-DATE
> Task :app:checkDebugManifest UP-TO-DATE
> Task :app:generateDebugBuildConfig UP-TO-DATE
> Task :app:prepareLintJar UP-TO-DATE
> Task :app:generateDebugSources
> Task :app:javaPreCompileDebug UP-TO-DATE
> Task :app:mainApkListPersistenceDebug UP-TO-DATE
> Task :app:generateDebugResValues UP-TO-DATE
> Task :app:generateDebugResources UP-TO-DATE
> Task :app:mergeDebugResources UP-TO-DATE
> Task :app:createDebugCompatibleScreenManifests UP-TO-DATE
> Task :app:processDebugManifest UP-TO-DATE
> Task :app:processDebugResources UP-TO-DATE

> Task :app:compileDebugJavaWithJavac FAILED
G:\-\start\3\app\src\main\java\com\saeed\book\AboutUs.java:11: error: package android.support.v4.app does not exist
import android.support.v4.app.ActionBarDrawerToggle;
                             ^
G:\-\start\3\app\src\main\java\com\saeed\book\AboutUs.java:12: error: package android.support.v4.widget does not exist
import android.support.v4.widget.DrawerLayout;
                                ^
G:\-\start\3\app\src\main\java\com\saeed\book\AboutUs.java:30: error: cannot find symbol
    private DrawerLayout mDrawerLayout;
            ^
  symbol:   class DrawerLayout
  location: class AboutUs
G:\-\start\3\app\src\main\java\com\saeed\book\AboutUs.java:32: error: cannot find symbol
    private ActionBarDrawerToggle mDrawerToggle;
            ^
  symbol:   class ActionBarDrawerToggle
  location: class AboutUs
G:\-\start\3\app\src\main\java\com\saeed\book\ContentMenu.java:13: error: package android.support.v4.app does not exist
import android.support.v4.app.ActionBarDrawerToggle;
                             ^
G:\-\start\3\app\src\main\java\com\saeed\book\ContentMenu.java:14: error: package android.support.v4.widget does not exist
import android.support.v4.widget.DrawerLayout;
                                ^
G:\-\start\3\app\src\main\java\com\saeed\book\DataBase.java:9: error: package com.readystatesoftware.sqliteasset does not exist
import com.readystatesoftware.sqliteasset.SQLiteAssetHelper;
                                         ^
G:\-\start\3\app\src\main\java\com\saeed\book\DataBase.java:11: error: cannot find symbol
public class DataBase extends SQLiteAssetHelper {
                              ^
  symbol: class SQLiteAssetHelper
G:\-\start\3\app\src\main\java\com\saeed\book\ContentMenu.java:51: error: cannot find symbol
    private DrawerLayout mDrawerLayout;
            ^
  symbol:   class DrawerLayout
  location: class ContentMenu
G:\-\start\3\app\src\main\java\com\saeed\book\ContentMenu.java:53: error: cannot find symbol
    private ActionBarDrawerToggle mDrawerToggle;
            ^
  symbol:   class ActionBarDrawerToggle
  location: class ContentMenu
G:\-\start\3\app\src\main\java\com\saeed\book\Favorites.java:18: error: package android.support.v4.app does not exist
import android.support.v4.app.ActionBarDrawerToggle;
                             ^
G:\-\start\3\app\src\main\java\com\saeed\book\Favorites.java:19: error: package android.support.v4.widget does not exist
import android.support.v4.widget.DrawerLayout;
                                ^
G:\-\start\3\app\src\main\java\com\saeed\book\Favorites.java:58: error: cannot find symbol
    private DrawerLayout mDrawerLayout;
            ^
  symbol:   class DrawerLayout
  location: class Favorites
G:\-\start\3\app\src\main\java\com\saeed\book\Favorites.java:60: error: cannot find symbol
    private ActionBarDrawerToggle mDrawerToggle;
            ^
  symbol:   class ActionBarDrawerToggle
  location: class Favorites
G:\-\start\3\app\src\main\java\com\saeed\book\GifView.java:9: error: package android.support.annotation does not exist
import android.support.annotation.NonNull;
                                 ^
G:\-\start\3\app\src\main\java\com\saeed\book\MainMenu.java:16: error: package android.support.v4.app does not exist
import android.support.v4.app.ActionBarDrawerToggle;
                             ^
G:\-\start\3\app\src\main\java\com\saeed\book\MainMenu.java:17: error: package android.support.v4.widget does not exist
import android.support.v4.widget.DrawerLayout;
                                ^
G:\-\start\3\app\src\main\java\com\saeed\book\MainMenu.java:35: error: cannot find symbol
    private DrawerLayout mDrawerLayout;
            ^
  symbol:   class DrawerLayout
  location: class MainMenu
G:\-\start\3\app\src\main\java\com\saeed\book\MainMenu.java:37: error: cannot find symbol
    private ActionBarDrawerToggle mDrawerToggle;
            ^
  symbol:   class ActionBarDrawerToggle
  location: class MainMenu
G:\-\start\3\app\src\main\java\com\saeed\book\NavConstructor.java:9: error: package android.support.v4.app does not exist
import android.support.v4.app.ActionBarDrawerToggle;
                             ^
G:\-\start\3\app\src\main\java\com\saeed\book\NavConstructor.java:10: error: package android.support.v4.widget does not exist
import android.support.v4.widget.DrawerLayout;
                                ^
G:\-\start\3\app\src\main\java\com\saeed\book\NavConstructor.java:26: error: cannot find symbol
    public static DrawerLayout _mDrawerLayout;
                  ^
  symbol:   class DrawerLayout
  location: class NavConstructor
G:\-\start\3\app\src\main\java\com\saeed\book\NavConstructor.java:36: error: cannot find symbol
                             DrawerLayout mDrawerLayout,int DEFAULT_POSITION){
                             ^
  symbol:   class DrawerLayout
  location: class NavConstructor
G:\-\start\3\app\src\main\java\com\saeed\book\SeasonMenu.java:15: error: package android.support.v4.app does not exist
import android.support.v4.app.ActionBarDrawerToggle;
                             ^
G:\-\start\3\app\src\main\java\com\saeed\book\SeasonMenu.java:16: error: package android.support.v4.widget does not exist
import android.support.v4.widget.DrawerLayout;
                                ^
G:\-\start\3\app\src\main\java\com\saeed\book\SeasonMenu.java:46: error: cannot find symbol
    private DrawerLayout mDrawerLayout;
            ^
  symbol:   class DrawerLayout
  location: class SeasonMenu
G:\-\start\3\app\src\main\java\com\saeed\book\SeasonMenu.java:48: error: cannot find symbol
    private ActionBarDrawerToggle mDrawerToggle;
            ^
  symbol:   class ActionBarDrawerToggle
  location: class SeasonMenu
G:\-\start\3\app\src\main\java\com\saeed\book\Settings_Activity.java:12: error: package android.support.v4.app does not exist
import android.support.v4.app.ActionBarDrawerToggle;
                             ^
G:\-\start\3\app\src\main\java\com\saeed\book\Settings_Activity.java:13: error: package android.support.v4.widget does not exist
import android.support.v4.widget.DrawerLayout;
                                ^
G:\-\start\3\app\src\main\java\com\saeed\book\Settings_Activity.java:58: error: cannot find symbol
    private DrawerLayout mDrawerLayout;
            ^
  symbol:   class DrawerLayout
  location: class Settings_Activity
G:\-\start\3\app\src\main\java\com\saeed\book\Settings_Activity.java:60: error: cannot find symbol
    private ActionBarDrawerToggle mDrawerToggle;
            ^
  symbol:   class ActionBarDrawerToggle
  location: class Settings_Activity
G:\-\start\3\app\src\main\java\org\angmarch\views\NiceSpinner.java:13: error: package android.support.annotation does not exist
import android.support.annotation.ColorRes;
                                 ^
G:\-\start\3\app\src\main\java\org\angmarch\views\NiceSpinner.java:14: error: package android.support.annotation does not exist
import android.support.annotation.NonNull;
                                 ^
G:\-\start\3\app\src\main\java\org\angmarch\views\NiceSpinner.java:15: error: package android.support.v4.content does not exist
import android.support.v4.content.ContextCompat;
                                 ^
G:\-\start\3\app\src\main\java\org\angmarch\views\NiceSpinner.java:16: error: package android.support.v4.graphics.drawable does not exist
import android.support.v4.graphics.drawable.DrawableCompat;
                                           ^
G:\-\start\3\app\src\main\java\org\angmarch\views\NiceSpinner.java:17: error: package android.support.v4.view.animation does not exist
import android.support.v4.view.animation.LinearOutSlowInInterpolator;
                                        ^
G:\-\start\3\app\src\main\java\org\adw\library\widgets\discreteseekbar\DiscreteSeekBar.java:29: error: package android.support.annotation does not exist
import android.support.annotation.NonNull;
                                 ^
G:\-\start\3\app\src\main\java\org\adw\library\widgets\discreteseekbar\DiscreteSeekBar.java:30: error: package android.support.annotation does not exist
import android.support.annotation.Nullable;
                                 ^
G:\-\start\3\app\src\main\java\org\adw\library\widgets\discreteseekbar\DiscreteSeekBar.java:31: error: package android.support.v4.graphics.drawable does not exist
import android.support.v4.graphics.drawable.DrawableCompat;
                                           ^
G:\-\start\3\app\src\main\java\org\adw\library\widgets\discreteseekbar\DiscreteSeekBar.java:32: error: package android.support.v4.view does not exist
import android.support.v4.view.MotionEventCompat;
                              ^
G:\-\start\3\app\src\main\java\org\adw\library\widgets\discreteseekbar\DiscreteSeekBar.java:33: error: package android.support.v4.view does not exist
import android.support.v4.view.ViewCompat;
                              ^
G:\-\start\3\app\src\main\java\org\angmarch\views\NiceSpinnerBaseAdapter.java:6: error: package android.support.v4.content does not exist
import android.support.v4.content.ContextCompat;
                                 ^
G:\-\start\3\app\src\main\java\org\adw\library\widgets\discreteseekbar\internal\drawable\ThumbDrawable.java:25: error: package android.support.annotation does not exist
import android.support.annotation.NonNull;
                                 ^
G:\-\start\3\app\src\main\java\org\adw\library\widgets\discreteseekbar\internal\drawable\StateDrawable.java:26: error: package android.support.annotation does not exist
import android.support.annotation.NonNull;
                                 ^
G:\-\start\3\app\src\main\java\org\adw\library\widgets\discreteseekbar\internal\drawable\TrackRectDrawable.java:22: error: package android.support.annotation does not exist
import android.support.annotation.NonNull;
                                 ^
G:\-\start\3\app\src\main\java\org\adw\library\widgets\discreteseekbar\internal\PopupIndicator.java:24: error: package android.support.v4.view does not exist
import android.support.v4.view.GravityCompat;
                              ^
G:\-\start\3\app\src\main\java\org\adw\library\widgets\discreteseekbar\internal\drawable\MarkerDrawable.java:29: error: package android.support.annotation does not exist
import android.support.annotation.NonNull;
                                 ^
G:\-\start\3\app\src\main\java\org\adw\library\widgets\discreteseekbar\internal\Marker.java:25: error: package android.support.v4.view does not exist
import android.support.v4.view.ViewCompat;
                              ^
G:\-\start\3\app\src\main\java\org\adw\library\widgets\discreteseekbar\internal\compat\SeekBarCompat.java:23: error: package android.support.annotation does not exist
import android.support.annotation.NonNull;
                                 ^
G:\-\start\3\app\src\main\java\org\adw\library\widgets\discreteseekbar\internal\compat\SeekBarCompat.java:24: error: package android.support.v4.graphics.drawable does not exist
import android.support.v4.graphics.drawable.DrawableCompat;
                                           ^
G:\-\start\3\app\src\main\java\org\adw\library\widgets\discreteseekbar\internal\drawable\AlmostRippleDrawable.java:26: error: package android.support.annotation does not exist
import android.support.annotation.NonNull;
                                 ^
G:\-\start\3\app\src\main\java\org\adw\library\widgets\discreteseekbar\internal\drawable\TrackOvalDrawable.java:23: error: package android.support.annotation does not exist
import android.support.annotation.NonNull;
                                 ^
G:\-\start\3\app\src\main\java\com\saeed\book\GifView.java:258: error: cannot find symbol
    protected void onVisibilityChanged(@NonNull View changedView, int visibility) {
                                        ^
  symbol:   class NonNull
  location: class GifView
G:\-\start\3\app\src\main\java\org\angmarch\views\NiceSpinner.java:248: error: cannot find symbol
    public void addOnItemClickListener(@NonNull AdapterView.OnItemClickListener onItemClickListener) {
                                        ^
  symbol:   class NonNull
  location: class NiceSpinner
G:\-\start\3\app\src\main\java\org\angmarch\views\NiceSpinner.java:252: error: cannot find symbol
    public void setOnItemSelectedListener(@NonNull AdapterView.OnItemSelectedListener onItemSelectedListener) {
                                           ^
  symbol:   class NonNull
  location: class NiceSpinner
G:\-\start\3\app\src\main\java\org\angmarch\views\NiceSpinner.java:256: error: cannot find symbol
    public <T> void attachDataSource(@NonNull List<T> dataset) {
                                      ^
  symbol:   class NonNull
  location: class NiceSpinner
G:\-\start\3\app\src\main\java\org\angmarch\views\NiceSpinner.java:261: error: cannot find symbol
    public void setAdapter(@NonNull ListAdapter adapter) {
                            ^
  symbol:   class NonNull
  location: class NiceSpinner
G:\-\start\3\app\src\main\java\org\angmarch\views\NiceSpinner.java:266: error: cannot find symbol
    private void setAdapterInternal(@NonNull NiceSpinnerBaseAdapter adapter) {
                                     ^
  symbol:   class NonNull
  location: class NiceSpinner
G:\-\start\3\app\src\main\java\org\angmarch\views\NiceSpinner.java:281: error: cannot find symbol
    public boolean onTouchEvent(@NonNull MotionEvent event) {
                                 ^
  symbol:   class NonNull
  location: class NiceSpinner
G:\-\start\3\app\src\main\java\org\angmarch\views\NiceSpinner.java:314: error: cannot find symbol
    public void setTintColor(@ColorRes int resId) {
                              ^
  symbol:   class ColorRes
  location: class NiceSpinner
G:\-\start\3\app\src\main\java\org\adw\library\widgets\discreteseekbar\DiscreteSeekBar.java:291: error: cannot find symbol
    public void setIndicatorFormatter(@Nullable String formatter) {
                                       ^
  symbol:   class Nullable
  location: class DiscreteSeekBar
G:\-\start\3\app\src\main\java\org\adw\library\widgets\discreteseekbar\DiscreteSeekBar.java:302: error: cannot find symbol
    public void setNumericTransformer(@Nullable NumericTransformer transformer) {
                                       ^
  symbol:   class Nullable
  location: class DiscreteSeekBar
G:\-\start\3\app\src\main\java\org\adw\library\widgets\discreteseekbar\DiscreteSeekBar.java:420: error: cannot find symbol
    public void setOnProgressChangeListener(@Nullable OnProgressChangeListener listener) {
                                             ^
  symbol:   class Nullable
  location: class DiscreteSeekBar
G:\-\start\3\app\src\main\java\org\adw\library\widgets\discreteseekbar\DiscreteSeekBar.java:445: error: cannot find symbol
    public void setThumbColor(@NonNull ColorStateList thumbColorStateList, int indicatorColor) {
                               ^
  symbol:   class NonNull
  location: class DiscreteSeekBar
G:\-\start\3\app\src\main\java\org\adw\library\widgets\discreteseekbar\DiscreteSeekBar.java:466: error: cannot find symbol
    public void setScrubberColor(@NonNull ColorStateList colorStateList) {
                                  ^
  symbol:   class NonNull
  location: class DiscreteSeekBar
G:\-\start\3\app\src\main\java\org\adw\library\widgets\discreteseekbar\DiscreteSeekBar.java:484: error: cannot find symbol
    public void setRippleColor(@NonNull ColorStateList colorStateList) {
                                ^
  symbol:   class NonNull
  location: class DiscreteSeekBar
G:\-\start\3\app\src\main\java\org\adw\library\widgets\discreteseekbar\DiscreteSeekBar.java:502: error: cannot find symbol
    public void setTrackColor(@NonNull ColorStateList colorStateList) {
                               ^
  symbol:   class NonNull
  location: class DiscreteSeekBar
G:\-\start\3\app\src\main\java\org\adw\library\widgets\discreteseekbar\internal\drawable\ThumbDrawable.java:49: error: cannot find symbol
    public ThumbDrawable(@NonNull ColorStateList tintStateList, int size) {
                          ^
  symbol:   class NonNull
  location: class ThumbDrawable
G:\-\start\3\app\src\main\java\org\adw\library\widgets\discreteseekbar\internal\drawable\StateDrawable.java:42: error: cannot find symbol
    public StateDrawable(@NonNull ColorStateList tintStateList) {
                          ^
  symbol:   class NonNull
  location: class StateDrawable
G:\-\start\3\app\src\main\java\org\adw\library\widgets\discreteseekbar\internal\drawable\StateDrawable.java:84: error: cannot find symbol
    public void setColorStateList(@NonNull ColorStateList tintStateList) {
                                   ^
  symbol:   class NonNull
  location: class StateDrawable
G:\-\start\3\app\src\main\java\org\adw\library\widgets\discreteseekbar\internal\drawable\TrackRectDrawable.java:31: error: cannot find symbol
    public TrackRectDrawable(@NonNull ColorStateList tintStateList) {
                              ^
  symbol:   class NonNull
  location: class TrackRectDrawable
G:\-\start\3\app\src\main\java\org\adw\library\widgets\discreteseekbar\internal\drawable\MarkerDrawable.java:72: error: cannot find symbol
    public MarkerDrawable(@NonNull ColorStateList tintList, int closedSize) {
                           ^
  symbol:   class NonNull
  location: class MarkerDrawable
G:\-\start\3\app\src\main\java\org\adw\library\widgets\discreteseekbar\internal\compat\SeekBarCompat.java:73: error: cannot find symbol
    public static void setRippleColor(@NonNull Drawable drawable, ColorStateList colorStateList) {
                                       ^
  symbol:   class NonNull
  location: class SeekBarCompat
G:\-\start\3\app\src\main\java\org\adw\library\widgets\discreteseekbar\internal\drawable\AlmostRippleDrawable.java:50: error: cannot find symbol
    public AlmostRippleDrawable(@NonNull ColorStateList tintStateList) {
                                 ^
  symbol:   class NonNull
  location: class AlmostRippleDrawable
G:\-\start\3\app\src\main\java\org\adw\library\widgets\discreteseekbar\internal\drawable\AlmostRippleDrawable.java:56: error: cannot find symbol
    public void setColor(@NonNull ColorStateList tintStateList) {
                          ^
  symbol:   class NonNull
  location: class AlmostRippleDrawable
G:\-\start\3\app\src\main\java\org\adw\library\widgets\discreteseekbar\internal\drawable\TrackOvalDrawable.java:34: error: cannot find symbol
    public TrackOvalDrawable(@NonNull ColorStateList tintStateList) {
                              ^
  symbol:   class NonNull
  location: class TrackOvalDrawable
G:\-\start\3\app\src\main\java\com\saeed\book\AboutUs.java:173: error: cannot find symbol
        mDrawerLayout = (DrawerLayout) findViewById(R.id.drawer_layout);
                         ^
  symbol:   class DrawerLayout
  location: class AboutUs
G:\-\start\3\app\src\main\java\com\saeed\book\AboutUs.java:178: error: cannot find symbol
        mDrawerToggle = new ActionBarDrawerToggle(this, mDrawerLayout,
                            ^
  symbol:   class ActionBarDrawerToggle
  location: class AboutUs
G:\-\start\3\app\src\main\java\com\saeed\book\ContentMenu.java:252: error: cannot find symbol
        mDrawerLayout = (DrawerLayout) findViewById(R.id.drawer_layout);
                         ^
  symbol:   class DrawerLayout
  location: class ContentMenu
G:\-\start\3\app\src\main\java\com\saeed\book\ContentMenu.java:257: error: cannot find symbol
        mDrawerToggle = new ActionBarDrawerToggle(this, mDrawerLayout,
                            ^
  symbol:   class ActionBarDrawerToggle
  location: class ContentMenu
G:\-\start\3\app\src\main\java\com\saeed\book\DataBase.java:20: error: cannot find symbol
        setForcedUpgrade(DATABASE_VERSION);
        ^
  symbol:   method setForcedUpgrade(int)
  location: class DataBase
G:\-\start\3\app\src\main\java\com\saeed\book\DataBase.java:21: error: cannot find symbol
        db = getReadableDatabase();
             ^
  symbol:   method getReadableDatabase()
  location: class DataBase
G:\-\start\3\app\src\main\java\com\saeed\book\DataBase.java:60: error: cannot find symbol
        Cursor cursor = getReadableDatabase()
                        ^
  symbol:   method getReadableDatabase()
  location: class DataBase
G:\-\start\3\app\src\main\java\com\saeed\book\DataBase.java:65: error: cannot find symbol
            getReadableDatabase().close();
            ^
  symbol:   method getReadableDatabase()
  location: class DataBase
G:\-\start\3\app\src\main\java\com\saeed\book\DataBase.java:73: error: cannot find symbol
        db = this.getReadableDatabase();
                 ^
  symbol: method getReadableDatabase()
G:\-\start\3\app\src\main\java\com\saeed\book\Favorites.java:256: error: cannot find symbol
        mDrawerLayout = (DrawerLayout) findViewById(R.id.drawer_layout);
                         ^
  symbol:   class DrawerLayout
  location: class Favorites
G:\-\start\3\app\src\main\java\com\saeed\book\Favorites.java:261: error: cannot find symbol
        mDrawerToggle = new ActionBarDrawerToggle(this, mDrawerLayout,
                            ^
  symbol:   class ActionBarDrawerToggle
  location: class Favorites
G:\-\start\3\app\src\main\java\com\saeed\book\MainMenu.java:201: error: cannot find symbol
        mDrawerLayout = (DrawerLayout) findViewById(R.id.drawer_layout);
                         ^
  symbol:   class DrawerLayout
  location: class MainMenu
G:\-\start\3\app\src\main\java\com\saeed\book\MainMenu.java:206: error: cannot find symbol
        mDrawerToggle = new ActionBarDrawerToggle(this, mDrawerLayout,
                            ^
  symbol:   class ActionBarDrawerToggle
  location: class MainMenu
G:\-\start\3\app\src\main\java\com\saeed\book\SeasonMenu.java:203: error: cannot find symbol
        mDrawerLayout = (DrawerLayout) findViewById(R.id.drawer_layout);
                         ^
  symbol:   class DrawerLayout
  location: class SeasonMenu
G:\-\start\3\app\src\main\java\com\saeed\book\SeasonMenu.java:208: error: cannot find symbol
        mDrawerToggle = new ActionBarDrawerToggle(this, mDrawerLayout,
                            ^
  symbol:   class ActionBarDrawerToggle
  location: class SeasonMenu
G:\-\start\3\app\src\main\java\com\saeed\book\Settings_Activity.java:336: error: cannot find symbol
        mDrawerLayout = (DrawerLayout) findViewById(R.id.drawer_layout);
                         ^
  symbol:   class DrawerLayout
  location: class Settings_Activity
G:\-\start\3\app\src\main\java\com\saeed\book\Settings_Activity.java:341: error: cannot find symbol
        mDrawerToggle = new ActionBarDrawerToggle(this, mDrawerLayout,
                            ^
  symbol:   class ActionBarDrawerToggle
  location: class Settings_Activity
G:\-\start\3\app\src\main\java\org\angmarch\views\NiceSpinner.java:188: error: cannot find symbol
                popupWindow.setBackgroundDrawable(ContextCompat.getDrawable(context, R.drawable.spinnerback));
                                                  ^
  symbol:   variable ContextCompat
  location: class NiceSpinner
G:\-\start\3\app\src\main\java\org\angmarch\views\NiceSpinner.java:190: error: cannot find symbol
                popupWindow.setBackgroundDrawable(ContextCompat.getDrawable(context, R.drawable.blackbox));
                                                  ^
  symbol:   variable ContextCompat
  location: class NiceSpinner
G:\-\start\3\app\src\main\java\org\angmarch\views\NiceSpinner.java:195: error: cannot find symbol
                popupWindow.setBackgroundDrawable(ContextCompat.getDrawable(context, R.drawable.spinnerback));
                                                  ^
  symbol:   variable ContextCompat
  location: class NiceSpinner
G:\-\start\3\app\src\main\java\org\angmarch\views\NiceSpinner.java:197: error: cannot find symbol
                popupWindow.setBackgroundDrawable(ContextCompat.getDrawable(context, R.drawable.blackbox));
                                                  ^
  symbol:   variable ContextCompat
  location: class NiceSpinner
G:\-\start\3\app\src\main\java\org\angmarch\views\NiceSpinner.java:213: error: cannot find symbol
            Drawable basicDrawable = ContextCompat.getDrawable(context, R.drawable.arrow);
                                     ^
  symbol:   variable ContextCompat
  location: class NiceSpinner
G:\-\start\3\app\src\main\java\org\angmarch\views\NiceSpinner.java:216: error: cannot find symbol
                drawable = DrawableCompat.wrap(basicDrawable);
                           ^
  symbol:   variable DrawableCompat
  location: class NiceSpinner
G:\-\start\3\app\src\main\java\org\angmarch\views\NiceSpinner.java:218: error: cannot find symbol
                    DrawableCompat.setTint(drawable, resId);
                    ^
  symbol:   variable DrawableCompat
  location: class NiceSpinner
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
100 errors

> Task :app:buildInfoGeneratorDebug

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 1s
15 actionable tasks: 3 executed, 12 up-to-date

 

به اشتراک گذاری این پست


لینک به ارسال
به اشتراک گذاری در سایت های دیگر
در 25 دقیقه قبل، parsisnotebook گفته است :

سلام اخه اروری نمیده برادرم  ارور قرمزی نیست  فقط بعد از run  برنامه اجرا نمیشه 

 

 

متن build

 

Executing tasks: [:app:assembleDebug]

> Task :app:buildInfoDebugLoader
> Task :app:preBuild UP-TO-DATE
> Task :app:preDebugBuild UP-TO-DATE
> Task :app:compileDebugAidl NO-SOURCE
> Task :app:compileDebugRenderscript UP-TO-DATE
> Task :app:checkDebugManifest UP-TO-DATE
> Task :app:generateDebugBuildConfig UP-TO-DATE
> Task :app:prepareLintJar UP-TO-DATE
> Task :app:generateDebugSources
> Task :app:javaPreCompileDebug UP-TO-DATE
> Task :app:mainApkListPersistenceDebug UP-TO-DATE
> Task :app:generateDebugResValues UP-TO-DATE
> Task :app:generateDebugResources UP-TO-DATE
> Task :app:mergeDebugResources UP-TO-DATE
> Task :app:createDebugCompatibleScreenManifests UP-TO-DATE
> Task :app:processDebugManifest UP-TO-DATE
> Task :app:processDebugResources UP-TO-DATE

> Task :app:compileDebugJavaWithJavac FAILED
G:\-\start\3\app\src\main\java\com\saeed\book\AboutUs.java:11: error: package android.support.v4.app does not exist
import android.support.v4.app.ActionBarDrawerToggle;
                             ^
G:\-\start\3\app\src\main\java\com\saeed\book\AboutUs.java:12: error: package android.support.v4.widget does not exist
import android.support.v4.widget.DrawerLayout;
                                ^
G:\-\start\3\app\src\main\java\com\saeed\book\AboutUs.java:30: error: cannot find symbol
    private DrawerLayout mDrawerLayout;
            ^
  symbol:   class DrawerLayout
  location: class AboutUs
G:\-\start\3\app\src\main\java\com\saeed\book\AboutUs.java:32: error: cannot find symbol
    private ActionBarDrawerToggle mDrawerToggle;
            ^
  symbol:   class ActionBarDrawerToggle
  location: class AboutUs
G:\-\start\3\app\src\main\java\com\saeed\book\ContentMenu.java:13: error: package android.support.v4.app does not exist
import android.support.v4.app.ActionBarDrawerToggle;
                             ^
G:\-\start\3\app\src\main\java\com\saeed\book\ContentMenu.java:14: error: package android.support.v4.widget does not exist
import android.support.v4.widget.DrawerLayout;
                                ^
G:\-\start\3\app\src\main\java\com\saeed\book\DataBase.java:9: error: package com.readystatesoftware.sqliteasset does not exist
import com.readystatesoftware.sqliteasset.SQLiteAssetHelper;
                                         ^
G:\-\start\3\app\src\main\java\com\saeed\book\DataBase.java:11: error: cannot find symbol
public class DataBase extends SQLiteAssetHelper {
                              ^
  symbol: class SQLiteAssetHelper
G:\-\start\3\app\src\main\java\com\saeed\book\ContentMenu.java:51: error: cannot find symbol
    private DrawerLayout mDrawerLayout;
            ^
  symbol:   class DrawerLayout
  location: class ContentMenu
G:\-\start\3\app\src\main\java\com\saeed\book\ContentMenu.java:53: error: cannot find symbol
    private ActionBarDrawerToggle mDrawerToggle;
            ^
  symbol:   class ActionBarDrawerToggle
  location: class ContentMenu
G:\-\start\3\app\src\main\java\com\saeed\book\Favorites.java:18: error: package android.support.v4.app does not exist
import android.support.v4.app.ActionBarDrawerToggle;
                             ^
G:\-\start\3\app\src\main\java\com\saeed\book\Favorites.java:19: error: package android.support.v4.widget does not exist
import android.support.v4.widget.DrawerLayout;
                                ^
G:\-\start\3\app\src\main\java\com\saeed\book\Favorites.java:58: error: cannot find symbol
    private DrawerLayout mDrawerLayout;
            ^
  symbol:   class DrawerLayout
  location: class Favorites
G:\-\start\3\app\src\main\java\com\saeed\book\Favorites.java:60: error: cannot find symbol
    private ActionBarDrawerToggle mDrawerToggle;
            ^
  symbol:   class ActionBarDrawerToggle
  location: class Favorites
G:\-\start\3\app\src\main\java\com\saeed\book\GifView.java:9: error: package android.support.annotation does not exist
import android.support.annotation.NonNull;
                                 ^
G:\-\start\3\app\src\main\java\com\saeed\book\MainMenu.java:16: error: package android.support.v4.app does not exist
import android.support.v4.app.ActionBarDrawerToggle;
                             ^
G:\-\start\3\app\src\main\java\com\saeed\book\MainMenu.java:17: error: package android.support.v4.widget does not exist
import android.support.v4.widget.DrawerLayout;
                                ^
G:\-\start\3\app\src\main\java\com\saeed\book\MainMenu.java:35: error: cannot find symbol
    private DrawerLayout mDrawerLayout;
            ^
  symbol:   class DrawerLayout
  location: class MainMenu
G:\-\start\3\app\src\main\java\com\saeed\book\MainMenu.java:37: error: cannot find symbol
    private ActionBarDrawerToggle mDrawerToggle;
            ^
  symbol:   class ActionBarDrawerToggle
  location: class MainMenu
G:\-\start\3\app\src\main\java\com\saeed\book\NavConstructor.java:9: error: package android.support.v4.app does not exist
import android.support.v4.app.ActionBarDrawerToggle;
                             ^
G:\-\start\3\app\src\main\java\com\saeed\book\NavConstructor.java:10: error: package android.support.v4.widget does not exist
import android.support.v4.widget.DrawerLayout;
                                ^
G:\-\start\3\app\src\main\java\com\saeed\book\NavConstructor.java:26: error: cannot find symbol
    public static DrawerLayout _mDrawerLayout;
                  ^
  symbol:   class DrawerLayout
  location: class NavConstructor
G:\-\start\3\app\src\main\java\com\saeed\book\NavConstructor.java:36: error: cannot find symbol
                             DrawerLayout mDrawerLayout,int DEFAULT_POSITION){
                             ^
  symbol:   class DrawerLayout
  location: class NavConstructor
G:\-\start\3\app\src\main\java\com\saeed\book\SeasonMenu.java:15: error: package android.support.v4.app does not exist
import android.support.v4.app.ActionBarDrawerToggle;
                             ^
G:\-\start\3\app\src\main\java\com\saeed\book\SeasonMenu.java:16: error: package android.support.v4.widget does not exist
import android.support.v4.widget.DrawerLayout;
                                ^
G:\-\start\3\app\src\main\java\com\saeed\book\SeasonMenu.java:46: error: cannot find symbol
    private DrawerLayout mDrawerLayout;
            ^
  symbol:   class DrawerLayout
  location: class SeasonMenu
G:\-\start\3\app\src\main\java\com\saeed\book\SeasonMenu.java:48: error: cannot find symbol
    private ActionBarDrawerToggle mDrawerToggle;
            ^
  symbol:   class ActionBarDrawerToggle
  location: class SeasonMenu
G:\-\start\3\app\src\main\java\com\saeed\book\Settings_Activity.java:12: error: package android.support.v4.app does not exist
import android.support.v4.app.ActionBarDrawerToggle;
                             ^
G:\-\start\3\app\src\main\java\com\saeed\book\Settings_Activity.java:13: error: package android.support.v4.widget does not exist
import android.support.v4.widget.DrawerLayout;
                                ^
G:\-\start\3\app\src\main\java\com\saeed\book\Settings_Activity.java:58: error: cannot find symbol
    private DrawerLayout mDrawerLayout;
            ^
  symbol:   class DrawerLayout
  location: class Settings_Activity
G:\-\start\3\app\src\main\java\com\saeed\book\Settings_Activity.java:60: error: cannot find symbol
    private ActionBarDrawerToggle mDrawerToggle;
            ^
  symbol:   class ActionBarDrawerToggle
  location: class Settings_Activity
G:\-\start\3\app\src\main\java\org\angmarch\views\NiceSpinner.java:13: error: package android.support.annotation does not exist
import android.support.annotation.ColorRes;
                                 ^
G:\-\start\3\app\src\main\java\org\angmarch\views\NiceSpinner.java:14: error: package android.support.annotation does not exist
import android.support.annotation.NonNull;
                                 ^
G:\-\start\3\app\src\main\java\org\angmarch\views\NiceSpinner.java:15: error: package android.support.v4.content does not exist
import android.support.v4.content.ContextCompat;
                                 ^
G:\-\start\3\app\src\main\java\org\angmarch\views\NiceSpinner.java:16: error: package android.support.v4.graphics.drawable does not exist
import android.support.v4.graphics.drawable.DrawableCompat;
                                           ^
G:\-\start\3\app\src\main\java\org\angmarch\views\NiceSpinner.java:17: error: package android.support.v4.view.animation does not exist
import android.support.v4.view.animation.LinearOutSlowInInterpolator;
                                        ^
G:\-\start\3\app\src\main\java\org\adw\library\widgets\discreteseekbar\DiscreteSeekBar.java:29: error: package android.support.annotation does not exist
import android.support.annotation.NonNull;
                                 ^
G:\-\start\3\app\src\main\java\org\adw\library\widgets\discreteseekbar\DiscreteSeekBar.java:30: error: package android.support.annotation does not exist
import android.support.annotation.Nullable;
                                 ^
G:\-\start\3\app\src\main\java\org\adw\library\widgets\discreteseekbar\DiscreteSeekBar.java:31: error: package android.support.v4.graphics.drawable does not exist
import android.support.v4.graphics.drawable.DrawableCompat;
                                           ^
G:\-\start\3\app\src\main\java\org\adw\library\widgets\discreteseekbar\DiscreteSeekBar.java:32: error: package android.support.v4.view does not exist
import android.support.v4.view.MotionEventCompat;
                              ^
G:\-\start\3\app\src\main\java\org\adw\library\widgets\discreteseekbar\DiscreteSeekBar.java:33: error: package android.support.v4.view does not exist
import android.support.v4.view.ViewCompat;
                              ^
G:\-\start\3\app\src\main\java\org\angmarch\views\NiceSpinnerBaseAdapter.java:6: error: package android.support.v4.content does not exist
import android.support.v4.content.ContextCompat;
                                 ^
G:\-\start\3\app\src\main\java\org\adw\library\widgets\discreteseekbar\internal\drawable\ThumbDrawable.java:25: error: package android.support.annotation does not exist
import android.support.annotation.NonNull;
                                 ^
G:\-\start\3\app\src\main\java\org\adw\library\widgets\discreteseekbar\internal\drawable\StateDrawable.java:26: error: package android.support.annotation does not exist
import android.support.annotation.NonNull;
                                 ^
G:\-\start\3\app\src\main\java\org\adw\library\widgets\discreteseekbar\internal\drawable\TrackRectDrawable.java:22: error: package android.support.annotation does not exist
import android.support.annotation.NonNull;
                                 ^
G:\-\start\3\app\src\main\java\org\adw\library\widgets\discreteseekbar\internal\PopupIndicator.java:24: error: package android.support.v4.view does not exist
import android.support.v4.view.GravityCompat;
                              ^
G:\-\start\3\app\src\main\java\org\adw\library\widgets\discreteseekbar\internal\drawable\MarkerDrawable.java:29: error: package android.support.annotation does not exist
import android.support.annotation.NonNull;
                                 ^
G:\-\start\3\app\src\main\java\org\adw\library\widgets\discreteseekbar\internal\Marker.java:25: error: package android.support.v4.view does not exist
import android.support.v4.view.ViewCompat;
                              ^
G:\-\start\3\app\src\main\java\org\adw\library\widgets\discreteseekbar\internal\compat\SeekBarCompat.java:23: error: package android.support.annotation does not exist
import android.support.annotation.NonNull;
                                 ^
G:\-\start\3\app\src\main\java\org\adw\library\widgets\discreteseekbar\internal\compat\SeekBarCompat.java:24: error: package android.support.v4.graphics.drawable does not exist
import android.support.v4.graphics.drawable.DrawableCompat;
                                           ^
G:\-\start\3\app\src\main\java\org\adw\library\widgets\discreteseekbar\internal\drawable\AlmostRippleDrawable.java:26: error: package android.support.annotation does not exist
import android.support.annotation.NonNull;
                                 ^
G:\-\start\3\app\src\main\java\org\adw\library\widgets\discreteseekbar\internal\drawable\TrackOvalDrawable.java:23: error: package android.support.annotation does not exist
import android.support.annotation.NonNull;
                                 ^
G:\-\start\3\app\src\main\java\com\saeed\book\GifView.java:258: error: cannot find symbol
    protected void onVisibilityChanged(@NonNull View changedView, int visibility) {
                                        ^
  symbol:   class NonNull
  location: class GifView
G:\-\start\3\app\src\main\java\org\angmarch\views\NiceSpinner.java:248: error: cannot find symbol
    public void addOnItemClickListener(@NonNull AdapterView.OnItemClickListener onItemClickListener) {
                                        ^
  symbol:   class NonNull
  location: class NiceSpinner
G:\-\start\3\app\src\main\java\org\angmarch\views\NiceSpinner.java:252: error: cannot find symbol
    public void setOnItemSelectedListener(@NonNull AdapterView.OnItemSelectedListener onItemSelectedListener) {
                                           ^
  symbol:   class NonNull
  location: class NiceSpinner
G:\-\start\3\app\src\main\java\org\angmarch\views\NiceSpinner.java:256: error: cannot find symbol
    public <T> void attachDataSource(@NonNull List<T> dataset) {
                                      ^
  symbol:   class NonNull
  location: class NiceSpinner
G:\-\start\3\app\src\main\java\org\angmarch\views\NiceSpinner.java:261: error: cannot find symbol
    public void setAdapter(@NonNull ListAdapter adapter) {
                            ^
  symbol:   class NonNull
  location: class NiceSpinner
G:\-\start\3\app\src\main\java\org\angmarch\views\NiceSpinner.java:266: error: cannot find symbol
    private void setAdapterInternal(@NonNull NiceSpinnerBaseAdapter adapter) {
                                     ^
  symbol:   class NonNull
  location: class NiceSpinner
G:\-\start\3\app\src\main\java\org\angmarch\views\NiceSpinner.java:281: error: cannot find symbol
    public boolean onTouchEvent(@NonNull MotionEvent event) {
                                 ^
  symbol:   class NonNull
  location: class NiceSpinner
G:\-\start\3\app\src\main\java\org\angmarch\views\NiceSpinner.java:314: error: cannot find symbol
    public void setTintColor(@ColorRes int resId) {
                              ^
  symbol:   class ColorRes
  location: class NiceSpinner
G:\-\start\3\app\src\main\java\org\adw\library\widgets\discreteseekbar\DiscreteSeekBar.java:291: error: cannot find symbol
    public void setIndicatorFormatter(@Nullable String formatter) {
                                       ^
  symbol:   class Nullable
  location: class DiscreteSeekBar
G:\-\start\3\app\src\main\java\org\adw\library\widgets\discreteseekbar\DiscreteSeekBar.java:302: error: cannot find symbol
    public void setNumericTransformer(@Nullable NumericTransformer transformer) {
                                       ^
  symbol:   class Nullable
  location: class DiscreteSeekBar
G:\-\start\3\app\src\main\java\org\adw\library\widgets\discreteseekbar\DiscreteSeekBar.java:420: error: cannot find symbol
    public void setOnProgressChangeListener(@Nullable OnProgressChangeListener listener) {
                                             ^
  symbol:   class Nullable
  location: class DiscreteSeekBar
G:\-\start\3\app\src\main\java\org\adw\library\widgets\discreteseekbar\DiscreteSeekBar.java:445: error: cannot find symbol
    public void setThumbColor(@NonNull ColorStateList thumbColorStateList, int indicatorColor) {
                               ^
  symbol:   class NonNull
  location: class DiscreteSeekBar
G:\-\start\3\app\src\main\java\org\adw\library\widgets\discreteseekbar\DiscreteSeekBar.java:466: error: cannot find symbol
    public void setScrubberColor(@NonNull ColorStateList colorStateList) {
                                  ^
  symbol:   class NonNull
  location: class DiscreteSeekBar
G:\-\start\3\app\src\main\java\org\adw\library\widgets\discreteseekbar\DiscreteSeekBar.java:484: error: cannot find symbol
    public void setRippleColor(@NonNull ColorStateList colorStateList) {
                                ^
  symbol:   class NonNull
  location: class DiscreteSeekBar
G:\-\start\3\app\src\main\java\org\adw\library\widgets\discreteseekbar\DiscreteSeekBar.java:502: error: cannot find symbol
    public void setTrackColor(@NonNull ColorStateList colorStateList) {
                               ^
  symbol:   class NonNull
  location: class DiscreteSeekBar
G:\-\start\3\app\src\main\java\org\adw\library\widgets\discreteseekbar\internal\drawable\ThumbDrawable.java:49: error: cannot find symbol
    public ThumbDrawable(@NonNull ColorStateList tintStateList, int size) {
                          ^
  symbol:   class NonNull
  location: class ThumbDrawable
G:\-\start\3\app\src\main\java\org\adw\library\widgets\discreteseekbar\internal\drawable\StateDrawable.java:42: error: cannot find symbol
    public StateDrawable(@NonNull ColorStateList tintStateList) {
                          ^
  symbol:   class NonNull
  location: class StateDrawable
G:\-\start\3\app\src\main\java\org\adw\library\widgets\discreteseekbar\internal\drawable\StateDrawable.java:84: error: cannot find symbol
    public void setColorStateList(@NonNull ColorStateList tintStateList) {
                                   ^
  symbol:   class NonNull
  location: class StateDrawable
G:\-\start\3\app\src\main\java\org\adw\library\widgets\discreteseekbar\internal\drawable\TrackRectDrawable.java:31: error: cannot find symbol
    public TrackRectDrawable(@NonNull ColorStateList tintStateList) {
                              ^
  symbol:   class NonNull
  location: class TrackRectDrawable
G:\-\start\3\app\src\main\java\org\adw\library\widgets\discreteseekbar\internal\drawable\MarkerDrawable.java:72: error: cannot find symbol
    public MarkerDrawable(@NonNull ColorStateList tintList, int closedSize) {
                           ^
  symbol:   class NonNull
  location: class MarkerDrawable
G:\-\start\3\app\src\main\java\org\adw\library\widgets\discreteseekbar\internal\compat\SeekBarCompat.java:73: error: cannot find symbol
    public static void setRippleColor(@NonNull Drawable drawable, ColorStateList colorStateList) {
                                       ^
  symbol:   class NonNull
  location: class SeekBarCompat
G:\-\start\3\app\src\main\java\org\adw\library\widgets\discreteseekbar\internal\drawable\AlmostRippleDrawable.java:50: error: cannot find symbol
    public AlmostRippleDrawable(@NonNull ColorStateList tintStateList) {
                                 ^
  symbol:   class NonNull
  location: class AlmostRippleDrawable
G:\-\start\3\app\src\main\java\org\adw\library\widgets\discreteseekbar\internal\drawable\AlmostRippleDrawable.java:56: error: cannot find symbol
    public void setColor(@NonNull ColorStateList tintStateList) {
                          ^
  symbol:   class NonNull
  location: class AlmostRippleDrawable
G:\-\start\3\app\src\main\java\org\adw\library\widgets\discreteseekbar\internal\drawable\TrackOvalDrawable.java:34: error: cannot find symbol
    public TrackOvalDrawable(@NonNull ColorStateList tintStateList) {
                              ^
  symbol:   class NonNull
  location: class TrackOvalDrawable
G:\-\start\3\app\src\main\java\com\saeed\book\AboutUs.java:173: error: cannot find symbol
        mDrawerLayout = (DrawerLayout) findViewById(R.id.drawer_layout);
                         ^
  symbol:   class DrawerLayout
  location: class AboutUs
G:\-\start\3\app\src\main\java\com\saeed\book\AboutUs.java:178: error: cannot find symbol
        mDrawerToggle = new ActionBarDrawerToggle(this, mDrawerLayout,
                            ^
  symbol:   class ActionBarDrawerToggle
  location: class AboutUs
G:\-\start\3\app\src\main\java\com\saeed\book\ContentMenu.java:252: error: cannot find symbol
        mDrawerLayout = (DrawerLayout) findViewById(R.id.drawer_layout);
                         ^
  symbol:   class DrawerLayout
  location: class ContentMenu
G:\-\start\3\app\src\main\java\com\saeed\book\ContentMenu.java:257: error: cannot find symbol
        mDrawerToggle = new ActionBarDrawerToggle(this, mDrawerLayout,
                            ^
  symbol:   class ActionBarDrawerToggle
  location: class ContentMenu
G:\-\start\3\app\src\main\java\com\saeed\book\DataBase.java:20: error: cannot find symbol
        setForcedUpgrade(DATABASE_VERSION);
        ^
  symbol:   method setForcedUpgrade(int)
  location: class DataBase
G:\-\start\3\app\src\main\java\com\saeed\book\DataBase.java:21: error: cannot find symbol
        db = getReadableDatabase();
             ^
  symbol:   method getReadableDatabase()
  location: class DataBase
G:\-\start\3\app\src\main\java\com\saeed\book\DataBase.java:60: error: cannot find symbol
        Cursor cursor = getReadableDatabase()
                        ^
  symbol:   method getReadableDatabase()
  location: class DataBase
G:\-\start\3\app\src\main\java\com\saeed\book\DataBase.java:65: error: cannot find symbol
            getReadableDatabase().close();
            ^
  symbol:   method getReadableDatabase()
  location: class DataBase
G:\-\start\3\app\src\main\java\com\saeed\book\DataBase.java:73: error: cannot find symbol
        db = this.getReadableDatabase();
                 ^
  symbol: method getReadableDatabase()
G:\-\start\3\app\src\main\java\com\saeed\book\Favorites.java:256: error: cannot find symbol
        mDrawerLayout = (DrawerLayout) findViewById(R.id.drawer_layout);
                         ^
  symbol:   class DrawerLayout
  location: class Favorites
G:\-\start\3\app\src\main\java\com\saeed\book\Favorites.java:261: error: cannot find symbol
        mDrawerToggle = new ActionBarDrawerToggle(this, mDrawerLayout,
                            ^
  symbol:   class ActionBarDrawerToggle
  location: class Favorites
G:\-\start\3\app\src\main\java\com\saeed\book\MainMenu.java:201: error: cannot find symbol
        mDrawerLayout = (DrawerLayout) findViewById(R.id.drawer_layout);
                         ^
  symbol:   class DrawerLayout
  location: class MainMenu
G:\-\start\3\app\src\main\java\com\saeed\book\MainMenu.java:206: error: cannot find symbol
        mDrawerToggle = new ActionBarDrawerToggle(this, mDrawerLayout,
                            ^
  symbol:   class ActionBarDrawerToggle
  location: class MainMenu
G:\-\start\3\app\src\main\java\com\saeed\book\SeasonMenu.java:203: error: cannot find symbol
        mDrawerLayout = (DrawerLayout) findViewById(R.id.drawer_layout);
                         ^
  symbol:   class DrawerLayout
  location: class SeasonMenu
G:\-\start\3\app\src\main\java\com\saeed\book\SeasonMenu.java:208: error: cannot find symbol
        mDrawerToggle = new ActionBarDrawerToggle(this, mDrawerLayout,
                            ^
  symbol:   class ActionBarDrawerToggle
  location: class SeasonMenu
G:\-\start\3\app\src\main\java\com\saeed\book\Settings_Activity.java:336: error: cannot find symbol
        mDrawerLayout = (DrawerLayout) findViewById(R.id.drawer_layout);
                         ^
  symbol:   class DrawerLayout
  location: class Settings_Activity
G:\-\start\3\app\src\main\java\com\saeed\book\Settings_Activity.java:341: error: cannot find symbol
        mDrawerToggle = new ActionBarDrawerToggle(this, mDrawerLayout,
                            ^
  symbol:   class ActionBarDrawerToggle
  location: class Settings_Activity
G:\-\start\3\app\src\main\java\org\angmarch\views\NiceSpinner.java:188: error: cannot find symbol
                popupWindow.setBackgroundDrawable(ContextCompat.getDrawable(context, R.drawable.spinnerback));
                                                  ^
  symbol:   variable ContextCompat
  location: class NiceSpinner
G:\-\start\3\app\src\main\java\org\angmarch\views\NiceSpinner.java:190: error: cannot find symbol
                popupWindow.setBackgroundDrawable(ContextCompat.getDrawable(context, R.drawable.blackbox));
                                                  ^
  symbol:   variable ContextCompat
  location: class NiceSpinner
G:\-\start\3\app\src\main\java\org\angmarch\views\NiceSpinner.java:195: error: cannot find symbol
                popupWindow.setBackgroundDrawable(ContextCompat.getDrawable(context, R.drawable.spinnerback));
                                                  ^
  symbol:   variable ContextCompat
  location: class NiceSpinner
G:\-\start\3\app\src\main\java\org\angmarch\views\NiceSpinner.java:197: error: cannot find symbol
                popupWindow.setBackgroundDrawable(ContextCompat.getDrawable(context, R.drawable.blackbox));
                                                  ^
  symbol:   variable ContextCompat
  location: class NiceSpinner
G:\-\start\3\app\src\main\java\org\angmarch\views\NiceSpinner.java:213: error: cannot find symbol
            Drawable basicDrawable = ContextCompat.getDrawable(context, R.drawable.arrow);
                                     ^
  symbol:   variable ContextCompat
  location: class NiceSpinner
G:\-\start\3\app\src\main\java\org\angmarch\views\NiceSpinner.java:216: error: cannot find symbol
                drawable = DrawableCompat.wrap(basicDrawable);
                           ^
  symbol:   variable DrawableCompat
  location: class NiceSpinner
G:\-\start\3\app\src\main\java\org\angmarch\views\NiceSpinner.java:218: error: cannot find symbol
                    DrawableCompat.setTint(drawable, resId);
                    ^
  symbol:   variable DrawableCompat
  location: class NiceSpinner
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
100 errors

> Task :app:buildInfoGeneratorDebug

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 1s
15 actionable tasks: 3 executed, 12 up-to-date

 

کتابخونه v4 اندروید رو اضافه کنید ببینید حل میشه

 

به اشتراک گذاری این پست


لینک به ارسال
به اشتراک گذاری در سایت های دیگر

لطفا طریقه اضفاه کردن رو بفرمایید

 

به اشتراک گذاری این پست


لینک به ارسال
به اشتراک گذاری در سایت های دیگر

سلام از این قسمت اضافه ککردم و همچنان همون جریانه

یاری کننده ای نبود 

به اشتراک گذاری این پست


لینک به ارسال
به اشتراک گذاری در سایت های دیگر
در 16 ساعت قبل، parsisnotebook گفته است :

سلام از این قسمت اضافه ککردم و همچنان همون جریانه

یاری کننده ای نبود 

توی project structure میتونید اضافش کنید از منو + بالا سمت راستش

به اشتراک گذاری این پست


لینک به ارسال
به اشتراک گذاری در سایت های دیگر

ارسال شده در (ویرایش شده)

ویرایش شده در توسط parsisnotebook

به اشتراک گذاری این پست


لینک به ارسال
به اشتراک گذاری در سایت های دیگر

ارسال شده در (ویرایش شده)

 

از این قسمت اضافه کردم همچنان پاشو کرده تو یک کفش و همون ارور

 

1111.jpg

ویرایش شده در توسط parsisnotebook

به اشتراک گذاری این پست


لینک به ارسال
به اشتراک گذاری در سایت های دیگر

Executing tasks: [:app:assembleDebug]


> Configure project :app
NDK is missing a "platforms" directory.
If you are using NDK, verify the ndk.dir is set to a valid NDK directory.  It is currently set to C:\Users\my\AppData\Local\Android\Sdk\ndk-bundle.
If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.


> Task :app:buildInfoDebugLoader
> Task :app:preBuild UP-TO-DATE
> Task :app:preDebugBuild UP-TO-DATE
> Task :app:compileDebugAidl NO-SOURCE
> Task :app:compileDebugRenderscript UP-TO-DATE
> Task :app:checkDebugManifest UP-TO-DATE
> Task :app:generateDebugBuildConfig UP-TO-DATE
> Task :app:prepareLintJar UP-TO-DATE
> Task :app:generateDebugSources
> Task :app:javaPreCompileDebug UP-TO-DATE
> Task :app:mainApkListPersistenceDebug UP-TO-DATE
> Task :app:generateDebugResValues UP-TO-DATE
> Task :app:generateDebugResources UP-TO-DATE
> Task :app:mergeDebugResources UP-TO-DATE
> Task :app:createDebugCompatibleScreenManifests UP-TO-DATE
> Task :app:processDebugManifest UP-TO-DATE
> Task :app:processDebugResources FAILED
> Task :app:buildInfoGeneratorDebug

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:processDebugResources'.
> Android resource linking failed
  C:\Users\my\.gradle\caches\transforms-1\files-1.1\appcompat-v7-27.1.1.aar\7c51609f21304db23d7d9dbce2e339e5\res\values-v26\values-v26.xml:9:5-12:13: AAPT: error: resource android:attr/colorError not found.
      
  C:\Users\my\.gradle\caches\transforms-1\files-1.1\appcompat-v7-27.1.1.aar\7c51609f21304db23d7d9dbce2e339e5\res\values-v26\values-v26.xml:13:5-16:13: AAPT: error: resource android:attr/colorError not found.
      
  C:\Users\my\.gradle\caches\transforms-1\files-1.1\design-27.1.1.aar\ca81360c54515ac099309b360ef9e447\res\values-v26\values-v26.xml:3:5-6:13: AAPT: error: style attribute 'android:attr/keyboardNavigationCluster' not found.
      
  C:\Users\my\.gradle\caches\transforms-1\files-1.1\appcompat-v7-27.1.1.aar\7c51609f21304db23d7d9dbce2e339e5\res\values-v26\values-v26.xml:17:5-93: AAPT: error: style attribute 'android:attr/keyboardNavigationCluster' not found.
      
  C:\Users\my\.gradle\caches\transforms-1\files-1.1\design-27.1.1.aar\ca81360c54515ac099309b360ef9e447\res\values\values.xml:12:5-254: AAPT: error: resource android:attr/keyboardNavigationCluster not found.
      
  C:\Users\my\.gradle\caches\transforms-1\files-1.1\design-27.1.1.aar\ca81360c54515ac099309b360ef9e447\res\values\values.xml:96:5-202: AAPT: error: resource android:attr/fontStyle not found.
      
  C:\Users\my\.gradle\caches\transforms-1\files-1.1\design-27.1.1.aar\ca81360c54515ac099309b360ef9e447\res\values\values.xml:96:5-202: AAPT: error: resource android:attr/font not found.
      
  C:\Users\my\.gradle\caches\transforms-1\files-1.1\design-27.1.1.aar\ca81360c54515ac099309b360ef9e447\res\values\values.xml:96:5-202: AAPT: error: resource android:attr/fontWeight not found.
      
  error: failed linking references.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 10s
14 actionable tasks: 3 executed, 11 up-to-date

 

 

این ارور ها از چیه

 

به اشتراک گذاری این پست


لینک به ارسال
به اشتراک گذاری در سایت های دیگر
در 3 ساعت قبل، parsisnotebook گفته است :

عجب  انجمن معرکه ای 

دوست عزیز شما باید نقل قول کنید که ما متوجه جواب شما بشیم بهتون پاسخ بدیم وگرنه از کجا متوجه بشیم شما سوالتون ادامه داره؟

 

از بخش SDK manager  برید و NDK رو به پروژتون اضافه کنید

مثل عکس زیر

 

image023.jpg

به اشتراک گذاری این پست


لینک به ارسال
به اشتراک گذاری در سایت های دیگر
در 3 ساعت قبل، parsisnotebook گفته است :

عجب  انجمن معرکه ای 

در حال حاضر هم بصورت اتفاقی پست های شمارو دیدم

به اشتراک گذاری این پست


لینک به ارسال
به اشتراک گذاری در سایت های دیگر

برای ارسال نظر یک حساب کاربری ایجاد کنید یا وارد حساب خود شوید

برای اینکه بتوانید نظر ارسال کنید نیاز دارید که کاربر سایت شوید

ایجاد یک حساب کاربری

برای حساب کاربری جدید در انجمن ما ثبت نام کنید. عضویت خیلی ساده است !


ثبت نام یک حساب کاربری جدید

ورود به حساب کاربری

دارای حساب کاربری هستید؟ از اینجا وارد شوید


ورود به حساب کاربری