jideguru / flutterebookapp Goto Github PK
View Code? Open in Web Editor NEWA simple Flutter app to Read and Download eBooks.
Home Page: https://openleaf.codemagic.app
License: Apache License 2.0
A simple Flutter app to Read and Download eBooks.
Home Page: https://openleaf.codemagic.app
License: Apache License 2.0
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
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.
Hey There, Recently i started open source contribution. This project looks interesting to me; not sure where to start can someone help?
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.
I think there is a problem with the description_text.dart component where for description with less than 300 texts it still shows ... at the end without the show more.
I am thinking about adding text to speech to the epub reader but I'm not sure where are the definitions of the reader
I think there is a problem with the saveReadLocator or getLastReadLocator method.
Link in Readme has expired, so there is no way to download the release.
https://codemagic.io/apps/5e230defc5faa60315b1df62/5e230defc5faa60315b1df61/latest_build
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.
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
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.
Can't able to download big (above 2 mb) google drive pdf files, But its working fine below 1 Mb file
Below 1 MB file : https://drive.google.com/u/0/uc?id=13c70PtmTQPNZlFRomLi1LTYYVw6Kdu7v&export=download
Above 1 MB file : https://drive.google.com/u/0/uc?id=1Gz56d7oIK_mmTH7sd-B1T0niktkL-Arw&export=download
how to add my own book ?
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
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.
folio reader highlight functionality is unable to work with table content. No matter where the highlight is marked but it will always take to the 1st page of the table.
E/flutter (21181): [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: FileSystemException: Creation failed, path = '/storage/emulated/0/Flutter Ebook App' (OS Error: Permission denied, errno = 13)
self explaning
Both files have same permission
https://drive.google.com/u/0/uc?id=1JYYy6XAeFlXgznp3dBh16LdCYzms9zNW&export=download -- Downloaded and working fine
https://drive.google.com/u/0/uc?id=1Gz56d7oIK_mmTH7sd-B1T0niktkL-Arw&export=download -- Downloaded but i got blank screen and not updated properly inside database
Can't able to download big (above 2 mb) google drive pdf files, But its working fine below 1 Mb file
Below 1 MB file : https://drive.google.com/u/0/uc?id=13c70PtmTQPNZlFRomLi1LTYYVw6Kdu7v&export=download
Above 1 MB file : https://drive.google.com/u/0/uc?id=1Gz56d7oIK_mmTH7sd-B1T0niktkL-Arw&export=download
cant compile it complains db.open(); in download_helper.dart
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
Hi, I am using flutter 1.22.0-12.1.pre • channel beta and I am not able of build this project due to the new Router widget they introduced in the latest versions. The compiler doesn't know which Widget use to compile (your router widget or the new router widget), it is an ambiguous import.
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
hello, Your project was soo good and amazing could you please explain project in brief.
Please
Is there any chance to download pdf file from google drive?
https://drive.google.com/open?id=1a8Qz3C0-pL7Qj7hD4n16QcfjZ0gltGDf
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.
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.
google_fonts
and preload_page_view
are needed to upgrade to 4.0.4
and 0.2.0
for iOS.
Local directory (In android device, so download is not working) not created if we used targetSdkVersion 29 and 30 on build.gradle file. We need set minimum 29 and 30 for playstore console.
Local folder not created on Android 11 emulator, so downloads are failed. I used sdkversion 30.
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();
}
...
}
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?
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
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?
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)
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
An overflow error caused due to harcoding size of the book-section-container .
Pull request addressing this issue : #41
════════ 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
none, the Exception object had a _stacktrace value of null.
Android 10
SDK built for x86
Run App in debug mode.
All Images are loaded successfully but I'm not sure all are loaded from cache.
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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.