Android Studio Rendering Issue [closed]

asked 2013-08-22 14:39:35 -0500

llSourcell gravatar image

updated 2013-11-14 12:02:51 -0500

tfoote gravatar image

I imported a working Android_Core project to Android Studio (android_tutorial_teleop) and it builds just fine. When I compile it and send it to my device it goes there, but quits every time I try to launch it without showing any elements. I suspect the problem is with rendering. When I go to main.xml i get this error

Rendering Problems The following classes could not be found: - org.ros.android.view.VirtualJoystickView (Fix Build Path, Create Class) - org.ros.android.view.visualization.VisualizationView (Fix Build Path, Create Class) Tip: Try to build the project

Here is the main.xml

<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent" >

    <org.ros.android.view.visualization.VisualizationView
        android:id="@+id/visualization"
        android:layout_width="match_parent"
        android:layout_height="match_parent" />

    <org.ros.android.view.VirtualJoystickView
        android:id="@+id/virtual_joystick"
        android:layout_width="300dip"
        android:layout_height="300dip"
        android:layout_alignParentBottom="true"
        android:layout_alignParentRight="true" />

</RelativeLayout>
edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2017-12-08 03:55:24.903710