Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java code Error #6

Open
re-LIFE opened this issue May 22, 2018 · 0 comments
Open

Java code Error #6

re-LIFE opened this issue May 22, 2018 · 0 comments

Comments

@re-LIFE
Copy link

re-LIFE commented May 22, 2018

05-22 11:24:45.057 31719-31719/? E/AndroidRuntime: FATAL EXCEPTION: main
Process: skripsi.anatomi.tes, PID: 31719
java.lang.NoClassDefFoundError: Failed resolution of: [Lkotlin/reflect/KProperty;
at io.armcha.playtablayout.core.PlayTabLayout.(PlayTabLayout.kt)
at java.lang.reflect.Constructor.newInstance0(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:430)
at android.view.LayoutInflater.createView(LayoutInflater.java:652)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:812)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:752)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:883)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:846)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:886)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:846)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:886)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:846)
at android.view.LayoutInflater.inflate(LayoutInflater.java:522)
at android.view.LayoutInflater.inflate(LayoutInflater.java:430)
at android.view.LayoutInflater.inflate(LayoutInflater.java:377)
at android.support.v7.app.AppCompatDelegateImplV9.setContentView(AppCompatDelegateImplV9.java:287)
at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:139)
at skripsi.anatomi.tes.MainActivity.onCreate(MainActivity.java:36)
at android.app.Activity.performCreate(Activity.java:6864)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2659)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2767)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1514)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:163)
at android.app.ActivityThread.main(ActivityThread.java:6221)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794)
Caused by: java.lang.ClassNotFoundException: Didn't find class "kotlin.reflect.KProperty" on path: DexPathList[[zip file "/data/app/skripsi.anatomi.tes-2/base.apk", zip file "/data/app/skripsi.anatomi.tes-2/split_lib_dependencies_apk.apk", zip file "/data/app/skripsi.anatomi.tes-2/split_lib_slice_0_apk.apk", zip file "/data/app/skripsi.anatomi.tes-2/split_lib_slice_1_apk.apk", zip file "/data/app/skripsi.anatomi.tes-2/split_lib_slice_2_apk.apk", zip file "/data/app/skripsi.anatomi.tes-2/split_lib_slice_3_apk.apk", zip file "/data/app/skripsi.anatomi.tes-2/split_lib_slice_4_apk.apk", zip file "/data/app/skripsi.anatomi.tes-2/split_lib_slice_5_apk.apk", zip file "/data/app/skripsi.anatomi.tes-2/split_lib_slice_6_apk.apk", zip file "/data/app/skripsi.anatomi.tes-2/split_lib_slice_7_apk.apk", zip file "/data/app/skripsi.anatomi.tes-2/split_lib_slice_8_apk.apk", zip file "/data/app/skripsi.anatomi.tes-2/split_lib_slice_9_apk.apk"],nativeLibraryDirectories=[/data/app/skripsi.anatomi.tes-2/lib/arm64, /system/lib64, /vendor/lib64]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:380)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
at io.armcha.playtablayout.core.PlayTabLayout.(PlayTabLayout.kt) 
at java.lang.reflect.Constructor.newInstance0(Native Method) 
at java.lang.reflect.Constructor.newInstance(Constructor.java:430) 
at android.view.LayoutInflater.createView(LayoutInflater.java:652) 
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:812) 
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:752) 
at android.view.LayoutInflater.rInflate(LayoutInflater.java:883) 
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:846) 
at android.view.LayoutInflater.rInflate(LayoutInflater.java:886) 
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:846) 
at android.view.LayoutInflater.rInflate(LayoutInflater.java:886) 
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:846) 
at android.view.LayoutInflater.inflate(LayoutInflater.java:522) 
at android.view.LayoutInflater.inflate(LayoutInflater.java:430) 
at android.view.LayoutInflater.inflate(LayoutInflater.java:377) 
at android.support.v7.app.AppCompatDelegateImplV9.setContentView(AppCompatDelegateImplV9.java:287) 
at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:139) 
at skripsi.anatomi.tes.MainActivity.onCreate(MainActivity.java:36) 
at android.app.Activity.performCreate(Activity.java:6864) 
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119) 
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2659) 
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2767) 
at android.app.ActivityThread.-wrap12(ActivityThread.java) 
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1514) 
at android.os.Handler.dispatchMessage(Handler.java:102) 
at android.os.Looper.loop(Looper.java:163) 
at android.app.ActivityThread.main(ActivityThread.java:6221) 
at java.lang.reflect.Method.invoke(Native Method) 
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904) 
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794) 
05-22 11:24:45.071 31719-31719/? I/Process: Sending signal. PID: 31719 SIG: 9

this is my xml code :

<android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/drawer_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="false"
tools:openDrawer="start">

<android.support.design.widget.CoordinatorLayout
    android:layout_width="match_parent"
    android:layout_height="match_parent">

    <android.support.design.widget.AppBarLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:theme="@style/AppTheme.AppBarOverlay"
        app:elevation="0dp">

        <android.support.v7.widget.Toolbar
            android:id="@+id/toolbar"
            android:layout_width="match_parent"
            android:layout_height="56dp"
            android:background="@color/walkthrough19colorPrimary"
            android:paddingEnd="10dp"
            app:layout_collapseMode="pin"
            app:popupTheme="@style/AppTheme.PopupOverlay">

            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:gravity="center_vertical"
                android:text="@string/tugas_akhir"
                android:textColor="@android:color/white"
                android:textSize="18sp" />

        </android.support.v7.widget.Toolbar>


        <io.armcha.playtablayout.core.PlayTabLayout
            android:id="@+id/tab_layout_activity3"
            style="@style/Music15TabLayout"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:background="@color/walkthrough4colorAccent"
            android:clipToPadding="false"
            app:tabIndicatorColor="@color/activity23ChatBackground"
            app:tabMode="fixed" />

    </android.support.design.widget.AppBarLayout>

    <android.support.v4.view.ViewPager
        android:id="@+id/viewPager"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        app:layout_behavior="@string/appbar_scrolling_view_behavior" />

</android.support.design.widget.CoordinatorLayout>


<android.support.design.widget.NavigationView
    android:id="@+id/nav_view"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_gravity="start"
    android:layout_marginBottom="220dp"
    android:layout_marginTop="?actionBarSize"
    android:background="@color/walkthrough19colorPrimary">

    <LinearLayout
        android:id="@+id/menuContainer"
        android:layout_width="match_parent"
        android:layout_height="280dp"
        android:focusable="true"
        android:focusableInTouchMode="true"
        android:orientation="vertical"
        android:padding="12dp">

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_weight="1"
            android:baselineAligned="false"
            android:gravity="center_vertical"
            android:orientation="horizontal">

            <LinearLayout
                android:id="@+id/button1"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:onClick="onClick"
                android:orientation="vertical">

                <android.support.v7.widget.CardView
                    android:layout_width="@dimen/menuNavigation1ButtonWidth"
                    android:layout_height="@dimen/menuNavigation1ButtonWidth"
                    android:layout_gravity="center_horizontal"
                    app:cardBackgroundColor="@color/menuNavigation1Button1Bg"
                    app:cardCornerRadius="@dimen/menuNavigation1ButtonRadius">

                    <ImageView
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_gravity="center_horizontal|center_vertical"
                        android:contentDescription="@string/todo"
                        android:src="@drawable/ic_action_camera" />

                </android.support.v7.widget.CardView>

                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_gravity="center_horizontal"
                    android:layout_marginTop="8dp"
                    android:text="Soal 1"
                    android:textColor="@android:color/white"
                    android:textSize="12sp" />
            </LinearLayout>

            <LinearLayout
                android:id="@+id/button2"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:onClick="onClick"
                android:orientation="vertical">

                <android.support.v7.widget.CardView
                    android:layout_width="@dimen/menuNavigation1ButtonWidth"
                    android:layout_height="@dimen/menuNavigation1ButtonWidth"
                    android:layout_gravity="center_horizontal"
                    app:cardBackgroundColor="@color/menuNavigation1Button2Bg"
                    app:cardCornerRadius="@dimen/menuNavigation1ButtonRadius">

                    <ImageView
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_gravity="center_horizontal|center_vertical"
                        android:src="@drawable/ic_room" />

                </android.support.v7.widget.CardView>

                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_gravity="center_horizontal"
                    android:layout_marginTop="8dp"
                    android:text="Soal 2"
                    android:textColor="@android:color/white"
                    android:textSize="12sp" />
            </LinearLayout>

            <LinearLayout
                android:id="@+id/button3"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:onClick="onClick"
                android:orientation="vertical">

                <android.support.v7.widget.CardView
                    android:layout_width="@dimen/menuNavigation1ButtonWidth"
                    android:layout_height="@dimen/menuNavigation1ButtonWidth"
                    android:layout_gravity="center_horizontal"
                    app:cardBackgroundColor="@color/menuNavigation1Button3Bg"
                    app:cardCornerRadius="@dimen/menuNavigation1ButtonRadius">

                    <ImageView
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_gravity="center_horizontal|center_vertical"
                        android:src="@drawable/ic_rowing" />

                </android.support.v7.widget.CardView>

                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_gravity="center_horizontal"
                    android:layout_marginTop="8dp"
                    android:text="Soal 3"
                    android:textColor="@android:color/white"
                    android:textSize="12sp" />
            </LinearLayout>

        </LinearLayout>

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_weight="1"
            android:gravity="center_vertical"
            android:orientation="horizontal">

            <LinearLayout
                android:id="@+id/button4"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:onClick="onClick"
                android:orientation="vertical">

                <android.support.v7.widget.CardView
                    android:layout_width="@dimen/menuNavigation1ButtonWidth"
                    android:layout_height="@dimen/menuNavigation1ButtonWidth"
                    android:layout_gravity="center_horizontal"
                    app:cardBackgroundColor="@color/menuNavigation1Button4Bg"
                    app:cardCornerRadius="@dimen/menuNavigation1ButtonRadius">

                    <ImageView
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_gravity="center_horizontal|center_vertical"
                        android:src="@drawable/ic_shop" />

                </android.support.v7.widget.CardView>

                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_gravity="center_horizontal"
                    android:layout_marginTop="8dp"
                    android:text="Bantuan"
                    android:textColor="@android:color/white"
                    android:textSize="12sp" />

            </LinearLayout>

            <LinearLayout
                android:id="@+id/button5"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:onClick="onClick"
                android:orientation="vertical">

                <android.support.v7.widget.CardView
                    android:layout_width="@dimen/menuNavigation1ButtonWidth"
                    android:layout_height="@dimen/menuNavigation1ButtonWidth"
                    android:layout_gravity="center_horizontal"
                    app:cardBackgroundColor="@color/menuNavigation1Button5Bg"
                    app:cardCornerRadius="@dimen/menuNavigation1ButtonRadius">

                    <ImageView
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_gravity="center_horizontal|center_vertical"
                        android:contentDescription="TODO"
                        android:src="@drawable/ic_store" />

                </android.support.v7.widget.CardView>

                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_gravity="center_horizontal"
                    android:layout_marginTop="8dp"
                    android:text="Tentang App"
                    android:textColor="@android:color/white"
                    android:textSize="12sp" />

            </LinearLayout>

            <LinearLayout
                android:id="@+id/button6"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:onClick="onClick"
                android:orientation="vertical">

                <android.support.v7.widget.CardView
                    android:layout_width="@dimen/menuNavigation1ButtonWidth"
                    android:layout_height="@dimen/menuNavigation1ButtonWidth"
                    android:layout_gravity="center_horizontal"
                    app:cardBackgroundColor="@color/menuNavigation1Button6Bg"
                    app:cardCornerRadius="@dimen/menuNavigation1ButtonRadius">

                    <ImageView
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_gravity="center_horizontal|center_vertical"
                        android:src="@drawable/ic_sd_storage" />

                </android.support.v7.widget.CardView>

                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_gravity="center_horizontal"
                    android:layout_marginTop="8dp"
                    android:text="About me"
                    android:textColor="@android:color/white"
                    android:textSize="12sp" />
            </LinearLayout>

        </LinearLayout>

    </LinearLayout>

</android.support.design.widget.NavigationView>

</android.support.v4.widget.DrawerLayout>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant