Coder Social home page Coder Social logo

jideguru / flutterebookapp Goto Github PK

View Code? Open in Web Editor NEW
2.8K 57.0 813.0 129.07 MB

A simple Flutter app to Read and Download eBooks.

Home Page: https://openleaf.codemagic.app

License: Apache License 2.0

Kotlin 0.01% Ruby 0.26% Swift 0.14% Objective-C 0.01% Dart 64.39% JavaScript 14.03% CSS 0.41% HTML 17.52% CMake 1.28% C++ 1.86% C 0.09% Shell 0.01%
flutter flutter-apps flutter-app flutter-book flutter-ui

flutterebookapp's People

Contributors

ferraridamiano avatar imgbot[bot] avatar imgbotapp avatar jideguru avatar kosichukwukwe avatar liudonghua123 avatar parthpanchal123 avatar restyled-commits avatar tosif91 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

flutterebookapp's Issues

last reading position

I saved last reading position to shared pref but when I close app and reopen the book after opening the app it starts from the first page is there a bug or something

"Could not load this page. Please try again."

Hello,

I wanted to know if this app still works, because as soon as I launch the app I get "Could not load this page. Please try again." on the Home and Explore pages.

Anyway even if it doesn't work for me, the app looks amazing so congratulations !

Edit: I have many errors like "A value of type 'dynamic' can't be assigned to a variable of type 'String?'.
Try changing the type of the variable, or casting the right-hand type to 'String?'." in category_feed.dart, I don't really understand where this comes from.

I want to contribute

Hey There, Recently i started open source contribution. This project looks interesting to me; not sure where to start can someone help?

App does not build on IOS simulator

Hey this looks like a really great app and I would love to get it to build but upon loading the app via flutter run I got this issue :

Error (Xcode): type argument 'nw_proxy_config_t' (aka 'struct nw_proxy_config *') is neither an Objective-C object nor a block type
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.0.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebsiteDa
taStore.h:119:46 Parse Issue (Xcode): Could not build module 'WebKit'
/Users/markus/Stably/FlutterEbookApp/build/ios/Debug-iphonesimulator/flutter_inappwebview/flutter_inappwebview.framework/Headers/flutter_inappwebview-Swift.h:893:8
Could not build the application for the simulator.
Error launching application on iPhone 15 Pro Max.

When upgrading the dependencies via flutter pub upgrade this issue comes up

Error (Xcode): packages/iridium/components/shared/lib/src/zip/lazy_zip_decoder.dart:26:60: Error: Member not found: 'STORE'. Could not build the application for the simulator.
Error launching application on iPhone 15 Pro Max.

Note: Changing the platform from IOS14.0 to 17.0 also does not resolve the issue.

Stuck on download

When I downloaded the zip file, extracted it and run it on vs code, the app just stayed stuck on downloading. What do I do?
image

Read Book not working

i tested with Android 9 real device. Forexample if we run with release mode then if you set targetSdkVersion is 25 it is working
but if you install and uninstall app or manually deleting the data then downloads section shows only 1 book.

In targetSdkVersion 28 and 29 it is not working. I also upgraded the "cached_network_image to 2.5.1" because of the error.
But i tested many times reading book and the download page not working. Reading book shows blank page after reloading and download page shows only the latest book.

On terminal it print "Unknown chunk type '200' " and also
"Caused by: java.lang.ClassNotFoundException: Didn't find class "android.view.WindowInsetsAnimation$Callback" on path:"

if we run with debug mode then extra error invalid image data but same things not working also in debug mode.

epub_viewer, esys_flutter_share, permission_handler` deprecated

The plugins epub_viewer, esys_flutter_share, permission_handler use a deprecated version of the Android embedding.
To avoid unexpected runtime failures, or future build failures, try to see if these plugins support the Android V2 embedding. Otherwise, consider removing them since a future release of Flutter will remove these deprecated APIs.
If you are plugin author, take a look at the docs for migrating the plugin to the V2 embedding:

Please update to Null safety

Could not make this work :(

Tried to boot the app but none worked :(

Here is the error:

Using hardware rendering with device AOSP on IA Emulator. If you notice graphics artifacts, consider enabling software rendering
with "--enable-software-rendering".
Launching lib/main.dart on AOSP on IA Emulator in debug mode...
Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/03 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/03 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/03 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Warning: unexpected element (uri:"", local:"extension-level"). Expected elements are <{}codename>,<{}layoutlib>,<{}api-level>
Warning: unexpected element (uri:"", local:"base-extension"). Expected elements are <{}codename>,<{}layoutlib>,<{}api-level>
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
/home/alex/.pub-cache/hosted/pub.dev/permission_handler-8.3.0/android/src/main/java/com/baseflow/permissionhandler/ServiceManager.java:75: warning: [deprecation] queryIntentActivities(Intent,int) in PackageManager has been deprecated
            List<ResolveInfo> callAppsList = pm.queryIntentActivities(callIntent, 0);
                                               ^
error: warnings found and -Werror specified
/home/alex/.pub-cache/hosted/pub.dev/permission_handler-8.3.0/android/src/main/java/com/baseflow/permissionhandler/PermissionUtils.java:317: warning: [deprecation] getPackageInfo(String,int) in PackageManager has been deprecated
                    .getPackageInfo(context.getPackageName(), PackageManager.GET_PERMISSIONS);
                    ^
1 error
2 warnings

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':permission_handler:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 24s
Running Gradle task 'assembleDebug'...                             25.2s
Exception: Gradle task assembleDebug failed with exit code 1

and here is the output of Flutter's doctor:

..ex@i7-11700K:~/temp/FlutterEbookApp$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.7.10, on Linux Mint 21 5.15.0-41-generic, locale en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
[✓] Chrome - develop for the web
[✗] Linux toolchain - develop for Linux desktop
    ✗ clang++ is required for Linux development.
      It is likely available from your distribution (e.g.: apt install clang), or can be downloaded from https://releases.llvm.org/
    ✗ CMake is required for Linux development.
      It is likely available from your distribution (e.g.: apt install cmake), or can be downloaded from https://cmake.org/download/
    ✗ ninja is required for Linux development.
      It is likely available from your distribution (e.g.: apt install ninja-build), or can be downloaded from https://github.com/ninja-build/ninja/releases
    ✗ GTK 3.0 development libraries are required for Linux development.
      They are likely available from your distribution (e.g.: apt install libgtk-3-dev)
[✓] Android Studio (version 2022.1)
[✓] VS Code (version 1.73.1)
[✓] Connected device (3 available)
[✓] HTTP Host Availability

! Doctor found issues in 1 category.

Create seperate apks for different architecture

Add --split-per-abi command to the build parameter in codemagic.

Removing the --split-per-abi flag results in a fat APK that contains your code compiled for all the target ABIs. Such APKs are larger in size than their split counterparts, causing the user to download native binaries that are not applicable to their device’s architecture

eBook cannot be read in Release Mode

After downloading any book, clicking on the read now button to read the epub causes the app to instantly crash, it works fine in debug mode but crashes in release mode.

db.open();

cant compile it complains db.open(); in download_helper.dart

build error in dart:3.0.5

typedef BookRepositoryData = ({CategoryFeed? feed, HttpFailure? failure}); // tip error
typedef HomeFeedData = ({CategoryFeed popularFeed, CategoryFeed recentFeed}); // tip error
home_feed_notifier.g.dart -->

/// See also [HomeFeedNotifier].
@ProviderFor(HomeFeedNotifier)
final homeFeedNotifierProvider = AutoDisposeAsyncNotifierProvider<
    HomeFeedNotifier,
    ({CategoryFeed popularFeed, CategoryFeed recentFeed})>.internal(
  HomeFeedNotifier.new,
  name: r'homeFeedNotifierProvider',
  debugGetCreateSourceHash: const bool.fromEnvironment('dart.vm.product')
      ? null
      : _$homeFeedNotifierHash,
  dependencies: null,
  allTransitiveDependencies: null,
);

typedef _$HomeFeedNotifier = AutoDisposeAsyncNotifier<
    ({CategoryFeed popularFeed, CategoryFeed recentFeed})>;
// ignore_for_file: unnecessary_raw_strings, subtype_of_sealed_class, invalid_use_of_internal_member, do_not_use_environment, prefer_const_constructors, public_member_api_docs, avoid_private_typedef_functions

build error in dart:3.0.5

Highlights or notes are invalid on iOS

Dear developer, first of all, thank you very much for open-sourcing this great work. At present, I have customized the application I need based on yours, but now I encounter a troublesome problem: Currently, there is no problem with the highlight pop-up on Android, But on iOS. Highlights or notes are invalid. Have you resolved this issue now? Can you share your solution if it is resolved? thanks

Describing the project

hello, Your project was soo good and amazing could you please explain project in brief.
Please

flutter web support

hi buddy
thanks for such a good library.
I have to release a flutter app which can read epub books on android and web.
I want to know if you have any plan for new update on this library for supporting flutter web application also or not?
I could not find any flutter epub reader library for supporting web applications.

Type conflict

I faced a problem with "lib\src\features\common\domain\models\category_feed.dart" file because of a conflict between "dynamic" and "String?" types , it needs a year for a manual fix , is there any quick solution.

upgrade dependencies

google_fonts and preload_page_view are needed to upgrade to 4.0.4 and 0.2.0 for iOS.

Provider setState() or markNeedsBuild() called during build

I want to update a book state from a page, but I got this error.

flutter: ══╡ EXCEPTION CAUGHT BY FOUNDATION LIBRARY ╞════════════════════════════════════════════════════════
        flutter: The following assertion was thrown while dispatching notifications for Book:
        flutter: setState() or markNeedsBuild() called during build.
class BookCard extends StatelessWidget {
  final String img, filename, url;
  Book book;
  BookCard(
      {Key key,
      @required this.img,
      @required this.url,
      this.filename,
      this.book})
      : super(key: key);

@override
  Widget build(BuildContext context) {
    final BookProvider = Provider.of<BookProvider>(context);
    BookProvider.setEntry(book);
    return Container(
    child:  BookProvider.downloaded
                    ? GestureDetector(
                        onTap: () => {
                                     //Read the book without trying to download it*
                                      }
                    : GestureDetector(
                        onTap: () => {
                                       //Download it*
                                      }

And in the Provider Class

class BookProvider extends ChangeNotifier {
  final database = DownloadsDB.instance;
  bool downloaded = false;
  Book book;

void setEntry(value) {
    book = value;
    notifyListeners();
  }
...
}

Can't open any of the books

Hey I'm running the code in Intelli J with Flutter Plugin. Everything works great, except I can't open any of the books. Here's the issue that I get. What do you think could be the issue?

image

reopen books does not remember the page

Hi,
thank you for this wonderful project. Exactly what I was looking for.
I noticed that reopening the book does not take you to the page where it was left. Could this be solved?

Audio Text to Speech is not available

Text to speech option is not available is there deficiency in epub-kitty library? because ePub kitty wrapper from FolioReaderKit and that library provide all the options

Flutter3 has released

Hi, thank you for letting me know how to build a flutter application scientifically.

Now that Flutter is released, do you have a plan to support it?

Suggestions/features for future versions

Thank you for this great opensource application. I have been using FBReader before, but it's no longer open source.
I think FlutterEbookApp is missing some features.
Note: Anyone who wishes to improve this project on below features can approach me, I (@aplicatii-romanesti) am willing to send a token of appreciation on patreon (or similar)

Bugs:

  • Clicking on the links takes you to the right location in the app, but it does not show the content on the top. It needs refresh after going to a link to see the text.
  • Save read position of each book in db. Reopening the book must take reader to the last page he read.

Features:

  • Translation: detect phone's default language and use that instead (if not english).

  • Back button after going to a link should take you to previous page (the one that had the link), and not exit the app, as long as it's less then 3 consecutive clicks on back button. If it's 3 consecutive clicks on the back in the span of 3 seconds, exit the app.

  • search integrated with OS search: searching in phone's default search box should show the books available in the app, and when user clicks on them, the app should open that book.

  • night mode (see FBReader)

  • Method to pre-embeded books in the app (ability to embed books in the out of the box app)
    OR
    download a pre-defined list of books at the first start.

  • when clicking on a link, instead of going there, show the content in popup on the bottom of the page for 20 sec (param), if content of the link is ~200 charts (param). See FBReader's behaviour)

  • use app's private storage option, so the app will not require the storage perms

Cannot download the app

Screenshot_20220313-235216.jpg

As u can see here, i think the link was expired..

Please update it to download the apk.

Thanks for regarding my issue.❤️

Bad State error at App Start (Debug Mode)

Exception

════════ Exception caught by image resource service ════════════════════════════
The following StateError was thrown resolving an image codec:
Bad state: LocalFile: '/data/user/0/dev.jideguru.flutterEbookApp/cache/libCachedImageData/cc2e83c0-97b4-11eb-8bde-e13ae502a789.jpg' is empty and cannot be loaded as an image.

When the exception was thrown, this was the stack
#0 FileImage._loadAsync
package:flutter/…/painting/image_provider.dart:887

Path: /data/user/0/dev.jideguru.flutterEbookApp/cache/libCachedImageData/cc2e83c0-97b4-11eb-8bde-e13ae502a789.jpg

Stack trace

none, the Exception object had a _stacktrace value of null.

Device

Android 10
SDK built for x86

Reproduce

Run App in debug mode.

Remarks

All Images are loaded successfully but I'm not sure all are loaded from cache.

Blank page on reader.

When trying to read a book, I get a blank page. Output shows the following error:

flutter: failure to decode theme: Null check operator used on a null value
flutter: null

This is on linux (Arch Linux), flutter engine version 3.13.6

There is also an issue with permissions on linux, the permission handler plugin doesn't support it but I made a simple package that assume all permissions are granted to work around it.

I run the app on Flutter but can not test it on my android phone

Hello
I really i am lost here, i downloaded the app source files, added them to Flutter, dart is enabled, flutter is fine, but when i just try to run it on my android for testing with flutter i got this error :

Launching lib\main.dart on SM G930F in debug mode...
Running Gradle task 'assembleDebug'...
C:\Users\1-ER-Ahmed\.gradle\caches\transforms-1\files-1.1\core-1.1.0.aar\271a77d3aa980dd428fe07e8ec61a064\res\values\values.xml:7:5-70: AAPT: error: resource android:attr/fontVariationSettings not found.
    
C:\Users\1-ER-Ahmed\.gradle\caches\transforms-1\files-1.1\core-1.1.0.aar\271a77d3aa980dd428fe07e8ec61a064\res\values\values.xml:7:5-70: AAPT: error: resource android:attr/ttcIndex not found.
    
C:\Users\1-ER-Ahmed\Desktop\flutter-book-app-master\build\app\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:20: error: resource android:attr/fontVariationSettings not found.
C:\Users\1-ER-Ahmed\Desktop\flutter-book-app-master\build\app\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:20: error: resource android:attr/ttcIndex not found.
error: failed linking references.

Failed to execute aapt
com.android.ide.common.process.ProcessException: Failed to execute aapt
	at com.android.builder.core.AndroidBuilder.processResources(AndroidBuilder.java:796)
	at com.android.build.gradle.tasks.ProcessAndroidResources.invokeAaptForSplit(ProcessAndroidResources.java:551)
	at com.android.build.gradle.tasks.ProcessAndroidResources.doFullTaskAction(ProcessAndroidResources.java:285)
	at com.android.build.gradle.internal.tasks.IncrementalTask.taskAction(IncrementalTask.java:109)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73)
	at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$IncrementalTaskAction.doExecute(DefaultTaskClassInfoStore.java:173)
	at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.execute(DefaultTaskClassInfoStore.java:134)
	at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.execute(DefaultTaskClassInfoStore.java:121)
	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$1.run(ExecuteActionsTaskExecuter.java:122)
	at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)
	at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)
	at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:197)
	at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:107)
	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:111)
	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:92)
	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:70)
	at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:63)
	at org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54)
	at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
	at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:88)
	at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:52)
	at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
	at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)
	at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
	at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)
	at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker$1.run(DefaultTaskGraphExecuter.java:248)
	at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)
	at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)
	at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:197)
	at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:107)
	at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:241)
	at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:230)
	at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.processTask(DefaultTaskPlanExecutor.java:124)
	at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.access$200(DefaultTaskPlanExecutor.java:80)
	at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:105)
	at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:99)
	at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.execute(DefaultTaskExecutionPlan.java:625)
	at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.executeWithTask(DefaultTaskExecutionPlan.java:580)
	at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.run(DefaultTaskPlanExecutor.java:99)
	at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
	at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details
	at com.google.common.util.concurrent.AbstractFuture.getDoneValue(AbstractFuture.java:503)
	at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:482)
	at com.google.common.util.concurrent.AbstractFuture$TrustedFuture.get(AbstractFuture.java:79)
	at com.android.builder.core.AndroidBuilder.processResources(AndroidBuilder.java:794)
	... 48 more
Caused by: java.util.concurrent.ExecutionException: com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details
	at com.google.common.util.concurrent.AbstractFuture.getDoneValue(AbstractFuture.java:503)
	at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:462)
	at com.google.common.util.concurrent.AbstractFuture$TrustedFuture.get(AbstractFuture.java:79)
	at com.android.builder.internal.aapt.v2.QueueableAapt2.lambda$makeValidatedPackage$1(QueueableAapt2.java:179)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	... 1 more
Caused by: com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details
	at com.android.builder.png.AaptProcess$NotifierProcessOutput.handleOutput(AaptProcess.java:463)
	at com.android.builder.png.AaptProcess$NotifierProcessOutput.err(AaptProcess.java:415)
	at com.android.builder.png.AaptProcess$ProcessOutputFacade.err(AaptProcess.java:332)
	at com.android.utils.GrabProcessOutput$1.run(GrabProcessOutput.java:104)

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:processDebugResources'.
> Failed to execute aapt

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

* Get more help at https://help.gradle.org

BUILD FAILED in 1m 12s
Exception: Gradle task assembleDebug failed with exit code 1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.