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 19th, 2017, 08:09 AM
Registered User
 
Join Date: Jun 2017
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Unexpected behaviour

in chapter 3 on the book under topic Applying themes to an activity.
When i tried to add android:theme="@android:style/Theme.Material"
showed 2 warning. After ignoring warning i ran the app then it kept on crashing.
warning 1:App is not indexable by Google Search; consider adding at least one Activity with an ACTION-VIEW intent filter.
warning 2:On SDK version 23 and up, your app data will be automatically backed up and restored on app install. Consider adding the attribute android:fullBackupContent to specify an @xml resource which configures which files to backup.
 
Old July 13th, 2017, 09:31 PM
Registered User
 
Join Date: Jul 2017
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Same Here

I am having the same issue, have you resolved it? Because I am not able to build anything after chapter 2
 
Old October 26th, 2017, 01:34 PM
Registered User
 
Join Date: Aug 2017
Posts: 5
Thanks: 0
Thanked 1 Time in 1 Post
Default

I had no problem with the code in Chapter 3. Make sure you have the closing ">" as below.
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@android:style/Theme.Material">
<activity
android:name=".MainActivity"
android:label="@string/app_name"
android:theme="@style/AppTheme.NoActionBar">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>





Similar Threads
Thread Thread Starter Forum Replies Last Post
unexpected behaviour of LinqDataSource_Updated robbaralla BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 9 January 19th, 2010 02:18 PM
Strange Behaviour VeganMan BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 9 April 14th, 2008 11:16 AM
Strange behaviour with IE smolds BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 2 October 15th, 2005 08:49 PM





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