Good evening, I have a problem, I have no idea what it may take to help you! I am developing an Android application in Android studio in the code is all correct compila legal has no syntax error, but at the time of emulating this presents the following error.
Note: This error occurs in all emulations not only in GenyMotion, but in the android studio's own AVD also in galaxy etc ...
ERRORLOGGENERATED:
07-3021:15:17.200402-402/?E/vinput:Vinputisnotconfigured.Thecommandmouse_pressisignored07-3021:15:17.203352-552/system_processE/EventHub:couldnotgetdriverversionfor/dev/input/mouse0,Notatypewriter07-3021:15:17.415391-391/?E/hw-IPCThreadState:binderthreadpool(1threads)starvedfor164ms07-3021:15:17.415391-391/?E/hw-IPCThreadState:binderthreadpool(1threads)starvedfor164ms07-3021:15:17.479401-401/?E/EGL_emulation:tid401:eglCreateSyncKHR(1881):error0x3004(EGL_BAD_ATTRIBUTE)07-3021:15:17.479401-401/?E/EGL_emulation:tid401:eglCreateSyncKHR(1881):error0x3004(EGL_BAD_ATTRIBUTE)07-3021:15:18.1161124-1237/com.android.launcher3E/EGL_emulation:tid1237:eglSurfaceAttrib(1210):error0x3009(EGL_BAD_MATCH)07-3021:15:18.138416-416/?E/OMXNodeInstance:setConfig(0xf3ea10e0:google.vorbis.decoder,ConfigPriority(0x6f800002))ERROR:Undefined(0x80001001)07-3021:15:18.140416-801/?E/OMXNodeInstance:getConfig(0xf3ea10e0:google.vorbis.decoder,ConfigAndroidVendorExtension(0x6f100004))ERROR:Undefined(0x80001001)07-3021:15:18.463352-366/system_processE/memtrack:Couldn'tloadmemtrackmodule
Myactivity_main.xmlisasfollows:
<?xmlversion="1.0" encoding="utf-8"?>
<RelativeLayout 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:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/my_bg"
tools:context=".MainActivity">
<LinearLayout
android:orientation="vertical"
android:layout_centerInParent="true"
android:layout_width="match_parent"
android:layout_height="wrap_content"></LinearLayout>
<LinearLayout
android:orientation="horizontal"
android:layout_alignParentBottom="true"
android:weightSum="2"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<info.hoang8f.widget.FButton
android:id="@+id/btnSignUp"
android:text="Sign Up"
android:textColor="@android:color/white"
android:layout_weight="1"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_margin="8dp"
app:buttonColor="@color/btnSignUp"
app:shadowColor="@android:color/black"
app:shadowEnabled="true"
app:shadowHeight="5dp"
app:cornerRadius="4dp"
/>
<info.hoang8f.widget.FButton
android:id="@+id/btnSignIn"
android:text="Sign In"
android:textColor="@android:color/white"
android:layout_weight="1"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_margin="8dp"
app:buttonColor="@color/btnSignActive"
app:shadowColor="@android:color/black"
app:shadowEnabled="true"
app:shadowHeight="5dp"
app:cornerRadius="4dp"
/>
</LinearLayout>
<ImageView
android:layout_width="307dp"
android:layout_height="299dp"
android:layout_alignParentStart="true"
android:layout_alignParentTop="true"
android:layout_marginStart="47dp"
android:layout_marginTop="117dp"
android:src="@drawable/logo_eat_it" />
</RelativeLayout>
My MainActivity.java looks like this:
package com.example.user.androidbillfood;
import android.graphics.Typeface;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
public class MainActivity extends AppCompatActivity {
Button btnSignIn,btnSignUp;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
btnSignIn = (Button)findViewById(R.id.btnSignIn);
btnSignUp = (Button)findViewById(R.id.btnSignUp);
btnSignIn.setOnClickListener(new View.OnClickListener(){
@Override
public void onClick(View view){
}
});
btnSignUp.setOnClickListener(new View.OnClickListener(){
@Override
public void onClick(View view){
}
});
}
}