View Single Post
  #1 (permalink)  
Old June 12th, 2017, 11:13 AM
BruceInCalgary BruceInCalgary is offline
Registered User
Points: 5, Level: 1
Points: 5, Level: 1 Points: 5, Level: 1 Points: 5, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2017
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Skype™ to BruceInCalgary
Exclamation Unresolved symbols in code examples

Hi Jerome.

I am trying to work through the code examples from your book using Android Studio V2.3.2. I am getting some unresolved errors on some of the import statements such as FloatingActionButton and SnackBar. I have tried the code on 2 PCs with the same problem. I have set up several Android devices for testing such as the latest Android API 26, Android 7.1.1 (Nougat) and Android 6.0 (Marshmallow). Am I missing some reference library? Thanks for any help!

Best regards, Bruce


Code:
import android.os.Bundle;
import android.support.design.widget.FloatingActionButton;
import android.support.design.widget.Snackbar;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.view.View;
import android.view.Menu;
import android.view.MenuItem;
Reply With Quote