Wrox Programmer Forums
|
BOOK: Beginning Android Programming with Android Studio, Fourth Edition
This is the forum to discuss the Wrox book Beginning Android Programming with Android Studio, Fourth Edition by Jerome F. DiMarzio; ISBN: 978-1-118-70559-9
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Android Programming with Android Studio, Fourth Edition section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 12th, 2017, 11:13 AM
Registered User
 
Join Date: Jun 2017
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
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;
 
Old July 2nd, 2017, 09:15 AM
Registered User
 
Join Date: Jul 2017
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default import android.support.design...

I am having trouble in chapter 3 of Beginning Android Programming...
The studio version I have is 2.3.3 and it does not recognize the statements with import android.support.design I am following the code in the book. Can anyone help? TIA...Craig
 
Old October 9th, 2018, 12:09 PM
Registered User
 
Join Date: Oct 2018
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation Having the exact same issue

From what I'm reading through this forum, the code examples that are provided in the book are not complete. I tried downloading the example code and opening that as a project and it still gave me tons of errors. Once I got past all the gradle dependency issues and sdk tool version compatibility errors, all references for my imports, and "R", all give the error that the symbol cannot be resolved.

Very hard to learn when example are missing information and not straight forward.

Sorry this isn't an answer just a bump in the thread because no one seems to have the full answer on how to complete these examples.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Link Problems with"unresolved external symbols" ConstantineAugustus Visual C++ 2 November 22nd, 2005 06:34 AM
code for examples marciann BOOK: Access 2003 VBA Programmer's Reference 3 February 20th, 2005 07:35 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.