2 Replies - 698 Views - Last Post: 25 July 2017 - 01:59 AM

#1 anitorres  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 11
  • Joined: 22-July 17

Rendering Problems NOTE: This project contains Java compilation errors

Posted 23 July 2017 - 03:15 AM

I am getting this error on Android Studio.

Rendering Problems NOTE: This project contains Java compilation errors, which can cause rendering failures for custom views. Fix compilation problems first. The following classes could not be found:

<com.makeuprewardz.app.ui.view.BottomBar (Fix Build Path, Edit XML, Create Class)
Tip: Try to build the project.

And here is my XML file

<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:fancy="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="@android:color/transparent"
android:orientation="vertical">

<FrameLayout
    android:id="@+id/fl_container"
    android:layout_marginBottom="@dimen/bottombar_height"
    android:layout_width="match_parent"
    android:layout_height="match_parent"/>

<ImageView
    android:layout_width="match_parent"
    android:background="@drawable/actionbar_shadow_up"
    android:layout_gravity="bottom"
    android:layout_marginBottom="@dimen/bottombar_height"
    android:layout_height="wrap_content"
    tools:ignore="ContentDescription" />

<com.makeuprewardz.app.ui.view.BottomBar
    android:id="@+id/bottomBar"
    android:layout_width="match_parent"
    android:layout_height="@dimen/bottombar_height"
    android:layout_gravity="bottom" />


Is This A Good Question/Topic? 0
  • +

Replies To: Rendering Problems NOTE: This project contains Java compilation errors

#2 wseng92  Icon User is offline

  • D.I.C Regular

Reputation: 9
  • View blog
  • Posts: 279
  • Joined: 23-September 15

Re: Rendering Problems NOTE: This project contains Java compilation errors

Posted 23 July 2017 - 09:22 PM

Have you read this ?
Android Studio 1.4 Rendering Problems NOTE: This project contains Java compilation errors
Was This Post Helpful? 0
  • +
  • -

#3 ssraj  Icon User is offline

  • New D.I.C Head

Reputation: 2
  • View blog
  • Posts: 20
  • Joined: 02-December 15

Re: Rendering Problems NOTE: This project contains Java compilation errors

Posted 25 July 2017 - 01:59 AM

The simplest reason for the rendering error in an Android studio version. Change the Android Studio version into the current version. Doing this might be helpful to solve the rendering errors. After doing the execution of a Java will get started and error will be resolved.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1