I try to build an apk but i got 12 errors as below Android Studio Reskin

1 replies
please help me, i try to build an apk but i got 12 errors as below .

Error190, 19) Error: Unexpected implicit cast to LayoutParams: layout tag was ToggleButton [WrongViewCast] ((TextView) findViewById(R.id.mess)).setTypeface(font); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C:\Users\elmon\Desktop\sold codes\codecanyon-10612308-speedy-car-game-with-admob-and-leaderboard\SpeedyCar\app\src\main\java\com\elmond al\racingcar\Main.java:199: Error: Unexpected implicit cast to LayoutParams: layout tag was ImageView [WrongViewCast] Error208, 57) Error: Unexpected implicit cast to LayoutParams: layout tag was ImageView [WrongViewCast] Error210, 46) Error: Unexpected implicit cast to LayoutParams: layout tag was ImageView [WrongViewCast] road2.getLayoutParams().width = (int) DpToPx(498); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C:\Users\elmon\Desktop\sold codes\codecanyon-10612308-speedy-car-game-with-admob-and-leaderboard\SpeedyCar\app\src\main\java\com\elmond al\racingcar\Main.java:211: Error: Unexpected implicit cast to LayoutParams: layout tag was ImageView [WrongViewCast] Error215, 42) Error: Unexpected implicit cast to LayoutParams: layout tag was ImageView [WrongViewCast] Error214, 42) Error: Unexpected implicit cast to LayoutParams: layout tag was ImageView [WrongViewCast] Error218, 39) Error: Unexpected implicit cast to LayoutParams: layout tag was ImageView [WrongViewCast] findViewById(R.id.car0).getLayoutParams().width = (int) DpToPx(32); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C:\Users\elmon\Desktop\sold codes\codecanyon-10612308-speedy-car-game-with-admob-and-leaderboard\SpeedyCar\app\src\main\java\com\elmond al\racingcar\Main.java:219: Error: Unexpected implicit cast to LayoutParams: layout tag was ImageView [WrongViewCast] findViewById(R.id.car0).getLayoutParams().height = (int) DpToPx(70); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C:\Users\elmon\Desktop\sold codes\codecanyon-10612308-speedy-car-game-with-admob-and-leaderboard\SpeedyCar\app\src\main\java\com\elmond al\racingcar\Main.java:220: Error: Unexpected implicit cast to LayoutParams: layout tag was ImageView [WrongViewCast] findViewById(R.id.car1).getLayoutParams().width = (int) DpToPx(32); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C:\Users\elmon\Desktop\sold codes\codecanyon-10612308-speedy-car-game-with-admob-and-leaderboard\SpeedyCar\app\src\main\java\com\elmond al\racingcar\Main.java:221: Error: Unexpected implicit cast to LayoutParams: layout tag was ImageView [WrongViewCast] Error222, 41) Error: Unexpected implicit cast to LayoutParams: layout tag was ImageView [WrongViewCast] Error223, 63) Error: Unexpected implicit cast to LayoutParams: layout tag was ImageView [WrongViewCast] Error226, 40) Error: Unexpected implicit cast to LayoutParams: layout tag was ImageView [WrongViewCast] Error227, 31) Error: Unexpected implicit cast to LayoutParams: layout tag was ImageView [WrongViewCast] findViewById(R.id.explode).getLayoutParams().heigh t = (int) DpToPx(150); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C:\Users\elmon\Desktop\sold codes\codecanyon-10612308-speedy-car-game-with-admob-and-leaderboard\SpeedyCar\app\src\main\java\com\elmond al\racingcar\Main.java:230: Error: Unexpected implicit cast to LayoutParams: layout tag was ImageView [WrongViewCast] findViewById(R.id.coin0).getLayoutParams().width = (int) DpToPx(20); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C:\Users\elmon\Desktop\sold codes\codecanyon-10612308-speedy-car-game-with-admob-and-leaderboard\SpeedyCar\app\src\main\java\com\elmond al\racingcar\Main.java:231: Error: Unexpected implicit cast to LayoutParams: layout tag was ImageView [WrongViewCast] findViewById(R.id.coin0).getLayoutParams().height = (int) DpToPx(24); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C:\Users\elmon\Desktop\sold codes\codecanyon-10612308-speedy-car-game-with-admob-and-leaderboard\SpeedyCar\app\src\main\java\com\elmond al\racingcar\Main.java:232: Error: Unexpected implicit cast to LayoutParams: layout tag was ImageView [WrongViewCast] findViewById(R.id.coin1).getLayoutParams().width = (int) DpToPx(20); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C:\Users\elmon\Desktop\sold codes\codecanyon-10612308-speedy-car-game-with-admob-and-leaderboard\SpeedyCar\app\src\main\java\com\elmond al\racingcar\Main.java:233: Error: Unexpected implicit cast to LayoutParams: layout tag was ImageView [WrongViewCast] findViewById(R.id.coin1).getLayoutParams().height = (int) DpToPx(24); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C:\Users\elmon\Desktop\sold codes\codecanyon-10612308-speedy-car-game-with-admob-and-leaderboard\SpeedyCar\app\src\main\java\com\elmond al\racingcar\Main.java:234: Error: Unexpected implicit cast to LayoutParams: layout tag was ImageView [WrongViewCast] findViewById(R.id.coin2).getLayoutParams().width = (int) DpToPx(20); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C:\Users\elmon\Desktop\sold codes\codecanyon-10612308-speedy-car-game-with-admob-and-leaderboard\SpeedyCar\app\src\main\java\com\elmond al\racingcar\Main.java:235: Error: Unexpected implicit cast to LayoutParams: layout tag was ImageView [WrongViewCast] findViewById(R.id.coin2).getLayoutParams().height = (int) DpToPx(24); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C:\Users\elmon\Desktop\sold codes\codecanyon-10612308-speedy-car-game-with-admob-and-leaderboard\SpeedyCar\app\src\main\java\com\elmond al\racingcar\Main.java:238: Error: Unexpected implicit cast to LayoutParams: layout tag was ImageView [WrongViewCast] findViewById(R.id.time0).getLayoutParams().width = (int) DpToPx(20); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C:\Users\elmon\Desktop\sold codes\codecanyon-10612308-speedy-car-game-with-admob-and-leaderboard\SpeedyCar\app\src\main\java\com\elmond al\racingcar\Main.java:239: Error: Unexpected implicit cast to LayoutParams: layout tag was ImageView [WrongViewCast] findViewById(R.id.time0).getLayoutParams().height = (int) DpToPx(24); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C:\Users\elmon\Desktop\sold codes\codecanyon-10612308-speedy-car-game-with-admob-and-leaderboard\SpeedyCar\app\src\main\java\com\elmond al\racingcar\Main.java:240: Error: Unexpected implicit cast to LayoutParams: layout tag was ImageView [WrongViewCast] findViewById(R.id.time1).getLayoutParams().width = (int) DpToPx(20); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C:\Users\elmon\Desktop\sold codes\codecanyon-10612308-speedy-car-game-with-admob-and-leaderboard\SpeedyCar\app\src\main\java\com\elmond al\racingcar\Main.java:241: Error: Unexpected implicit cast to LayoutParams: layout tag was ImageView [WrongViewCast] findViewById(R.id.time1).getLayoutParams().height = (int) DpToPx(24); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C:\Users\elmon\Desktop\sold codes\codecanyon-10612308-speedy-car-game-with-admob-and-leaderboard\SpeedyCar\app\src\main\java\com\elmond al\racingcar\Main.java:242: Error: Unexpected implicit cast to LayoutParams: layout tag was ImageView [WrongViewCast] findViewById(R.id.time2).getLayoutParams().width = (int) DpToPx(20); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C:\Users\elmon\Desktop\sold codes\codecanyon-10612308-speedy-car-game-with-admob-and-leaderboard\SpeedyCar\app\src\main\java\com\elmond al\racingcar\Main.java:243: Error: Unexpected implicit cast to LayoutParams: layout tag was ImageView [WrongViewCast] Error246, 81) Error: Unexpected implicit cast to LayoutParams: layout tag was ImageView [WrongViewCast] findViewById(R.id.arrow_left).getLayoutParams().wi dth = (int) DpToPx(80); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C:\Users\elmon\Desktop\sold codes\codecanyon-10612308-speedy-car-game-with-admob-and-leaderboard\SpeedyCar\app\src\main\java\com\elmond al\racingcar\Main.java:247: Error: Unexpected implicit cast to LayoutParams: layout tag was ImageView [WrongViewCast] findViewById(R.id.arrow_left).getLayoutParams().he ight = (int) DpToPx(80); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C:\Users\elmon\Desktop\sold codes\codecanyon-10612308-speedy-car-game-with-admob-and-leaderboard\SpeedyCar\app\src\main\java\com\elmond al\racingcar\Main.java:248: Error: Unexpected implicit cast to LayoutParams: layout tag was ImageView [WrongViewCast] findViewById(R.id.arrow_right).getLayoutParams().w idth = (int) DpToPx(80); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C:\Users\elmon\Desktop\sold codes\codecanyon-10612308-speedy-car-game-with-admob-and-leaderboard\SpeedyCar\app\src\main\java\com\elmond al\racingcar\Main.java:250: Error: Unexpected implicit cast to LayoutParams: layout tag was TextView [WrongViewCast] Error:Execution failed for task ':app:lintVitalRelease'.
#android #apk #build #errors #reskin #studio
Avatar of Unregistered

Trending Topics