readbeyond / minstrel Goto Github PK
View Code? Open in Web Editor NEWMinstrel is a FLOSS hybrid reading app specifically designed for Audio-eBooks
License: MIT License
Minstrel is a FLOSS hybrid reading app specifically designed for Audio-eBooks
License: MIT License
FDroid ( f-droid.org ) is a free software repository for Android. Please add it there for easy management and installation.
Dockefile contents :
# based on image : https://registry.hub.docker.com/u/dyhpoon/android/dockerfile/
FROM dyhpoon/android
RUN apt-get install --no-install-recommends -y -q curl python build-essential git ca-certificates
RUN mkdir /nodejs && curl http://nodejs.org/dist/v0.12.4/node-v0.12.4-linux-x64.tar.gz | tar xvzf - -C /nodejs --strip-components=1
ENV PATH $PATH:/nodejs/bin
# install lasted phonegap 5.0.0-0.28.1
RUN /nodejs/bin/npm install -g phonegap
# there is no cordova, so make soft link cordova linked to phonegap
RUN cordova -v || ln /nodejs/bin/phonegap /nodejs/bin/cordova
I run " mkdir test && cd test && phonegap run android " works very well ,and a app installed on my nexus device.
I followed Minstrel steps, got error when step3 'bash build.sh':
:CordovaLib:compileDebugJava
/vagrant/phonegap-projects/minstrel/cordova/minstrel/platforms/android/CordovaLib/src/org/apache/cordova/NativeToJsMessageQueue.java:313: error: error while writing OnlineEventsBridgeModeDelegate: /vagrant/phonegap-projects/minstrel/cordova/minstrel/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/NativeToJsMessageQueue$OnlineEventsBridgeMode$OnlineEventsBridgeModeDelegate.class (Operation not permitted)
public interface OnlineEventsBridgeModeDelegate {
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
i add '-Xlint:deprecation' to build.grails like http://stackoverflow.com/questions/18689365/how-to-add-xlintunchecked-to-my-android-gradle-based-project
then i run ' cd platforms/android && ./gradlew assembleDebug', i got sth like :
:preBuild
:compileDebugNdk UP-TO-DATE
:preDebugBuild
:checkDebugManifest
:CordovaLib:compileLint
:CordovaLib:copyDebugLint UP-TO-DATE
:CordovaLib:mergeDebugProguardFiles UP-TO-DATE
:CordovaLib:preBuild
:CordovaLib:preDebugBuild
:CordovaLib:checkDebugManifest
:CordovaLib:prepareDebugDependencies
:CordovaLib:compileDebugAidl UP-TO-DATE
:CordovaLib:compileDebugRenderscript UP-TO-DATE
:CordovaLib:generateDebugBuildConfig UP-TO-DATE
:CordovaLib:generateDebugAssets UP-TO-DATE
:CordovaLib:mergeDebugAssets UP-TO-DATE
:CordovaLib:generateDebugResValues UP-TO-DATE
:CordovaLib:generateDebugResources UP-TO-DATE
:CordovaLib:packageDebugResources UP-TO-DATE
:CordovaLib:processDebugManifest UP-TO-DATE
:CordovaLib:processDebugResources UP-TO-DATE
:CordovaLib:generateDebugSources UP-TO-DATE
:CordovaLib:compileDebugJava FAILED
/vagrant/phonegap-projects/minstrel/cordova/minstrel/platforms/android/CordovaLi
b/src/org/apache/cordova/CordovaWebView.java:29: warning: [deprecation] Encoding
Utils in org.apache.http.util has been deprecated
* This is an interface so that it can be easily mocked in tests.
^
/vagrant/phonegap-projects/minstrel/cordova/minstrel/platforms/android/CordovaLi
b/src/org/apache/cordova/CordovaResourceApi.java:430: warning: [deprecation] Enc
odingUtils in org.apache.http.util has been deprecated
byte[] data = base64 ? Base64.decode(dataPartAsString, Base64.DEFAULT) :
EncodingUtils.getBytes(dataPartAsString, "UTF-8");
^
/vagrant/phonegap-projects/minstrel/cordova/minstrel/platforms/android/CordovaLi
b/src/org/apache/cordova/NativeToJsMessageQueue.java:313: error: error while wri
ting OnlineEventsBridgeModeDelegate: /vagrant/phonegap-projects/minstrel/cordova
/minstrel/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apa
che/cordova/NativeToJsMessageQueue$OnlineEventsBridgeMode$OnlineEventsBridgeMode
Delegate.class (Operation not permitted)
public interface OnlineEventsBridgeModeDelegate {
^
/vagrant/phonegap-projects/minstrel/cordova/minstrel/platforms/android/CordovaLi
b/src/org/apache/cordova/CoreAndroid.java:137: warning: [deprecation] clearCache
(boolean) in CordovaWebView has been deprecated
webView.clearCache(true);
^
/vagrant/phonegap-projects/minstrel/cordova/minstrel/platforms/android/CordovaLi
b/src/org/apache/cordova/engine/SystemCookieManager.java:55: warning: [deprecati
on] removeAllCookie() in CookieManager has been deprecated
cookieManager.removeAllCookie();
^
/vagrant/phonegap-projects/minstrel/cordova/minstrel/platforms/android/CordovaLi
b/src/org/apache/cordova/engine/SystemWebChromeClient.java:141: warning: [deprec
ation] onExceededDatabaseQuota(String,String,long,long,long,QuotaUpdater) in Web
ChromeClient has been deprecated
public void onExceededDatabaseQuota(String url, String databaseIdentifier, l
ong currentQuota, long estimatedSize,
^
/vagrant/phonegap-projects/minstrel/cordova/minstrel/platforms/android/CordovaLi
b/src/org/apache/cordova/engine/SystemWebChromeClient.java:142: warning: [deprec
ation] QuotaUpdater in WebStorage has been deprecated
long totalUsedQuota, WebStorage.QuotaUpdater quotaUpdater)
^
/vagrant/phonegap-projects/minstrel/cordova/minstrel/platforms/android/CordovaLi
b/src/org/apache/cordova/engine/SystemWebChromeClient.java:186: warning: [deprec
ation] showCustomView(View,CustomViewCallback) in CordovaWebView has been deprec
ated
parentEngine.getCordovaWebView().showCustomView(view, callback);
^
/vagrant/phonegap-projects/minstrel/cordova/minstrel/platforms/android/CordovaLi
b/src/org/apache/cordova/engine/SystemWebChromeClient.java:191: warning: [deprec
ation] hideCustomView() in CordovaWebView has been deprecated
parentEngine.getCordovaWebView().hideCustomView();
^
/vagrant/phonegap-projects/minstrel/cordova/minstrel/platforms/android/CordovaLi
b/src/org/apache/cordova/engine/SystemWebViewClient.java:321: warning: [deprecat
ion] shouldInterceptRequest(WebView,String) in WebViewClient has been deprecated
public WebResourceResponse shouldInterceptRequest(WebView view, String url)
{
^
1 error
9 warnings
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':CordovaLib:compileDebugJava'.
> 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.
BUILD FAILED
Total time: 1 mins 15.935 secs
i run './gradlew assembleDebug --debug --stacktrace > /vagrant/gradlew.log', and i got console output and a log file.
console output:
01:31:52.654 [ERROR] [system.err] /vagrant/phonegap-projects/minstrel/cordova/mi
nstrel/platforms/android/CordovaLib/src/org/apache/cordova/CordovaWebView.java:2
9: warning: [deprecation] EncodingUtils in org.apache.http.util has been depreca
ted
01:31:52.659 [ERROR] [system.err] * This is an interface so that it can be easi
ly mocked in tests.
01:31:52.661 [ERROR] [system.err] ^
01:31:52.876 [ERROR] [system.err] /vagrant/phonegap-projects/minstrel/cordova/mi
nstrel/platforms/android/CordovaLib/src/org/apache/cordova/CordovaResourceApi.ja
va:430: warning: [deprecation] EncodingUtils in org.apache.http.util has been de
precated
01:31:52.880 [ERROR] [system.err] byte[] data = base64 ? Base64.decode(d
ataPartAsString, Base64.DEFAULT) : EncodingUtils.getBytes(dataPartAsString, "UTF
-8");
01:31:52.887 [ERROR] [system.err]
^
01:31:53.569 [ERROR] [system.err] /vagrant/phonegap-projects/minstrel/cordova/mi
nstrel/platforms/android/CordovaLib/src/org/apache/cordova/NativeToJsMessageQueu
e.java:313: error: error while writing OnlineEventsBridgeModeDelegate: /vagrant/
phonegap-projects/minstrel/cordova/minstrel/platforms/android/CordovaLib/build/i
ntermediates/classes/debug/org/apache/cordova/NativeToJsMessageQueue$OnlineEvent
sBridgeMode$OnlineEventsBridgeModeDelegate.class (Operation not permitted)
01:31:53.578 [ERROR] [system.err] public interface OnlineEventsBridgeMod
eDelegate {
01:31:53.580 [ERROR] [system.err] ^
01:31:54.019 [ERROR] [system.err] /vagrant/phonegap-projects/minstrel/cordova/mi
nstrel/platforms/android/CordovaLib/src/org/apache/cordova/CoreAndroid.java:137:
warning: [deprecation] clearCache(boolean) in CordovaWebView has been deprecate
d
01:31:54.022 [ERROR] [system.err] webView.clearCache(true);
01:31:54.023 [ERROR] [system.err] ^
01:31:54.143 [ERROR] [system.err] /vagrant/phonegap-projects/minstrel/cordova/mi
nstrel/platforms/android/CordovaLib/src/org/apache/cordova/engine/SystemCookieMa
nager.java:55: warning: [deprecation] removeAllCookie() in CookieManager has bee
n deprecated
01:31:54.146 [ERROR] [system.err] cookieManager.removeAllCookie();
01:31:54.148 [ERROR] [system.err] ^
01:31:54.178 [ERROR] [system.err] /vagrant/phonegap-projects/minstrel/cordova/mi
nstrel/platforms/android/CordovaLib/src/org/apache/cordova/engine/SystemWebChrom
eClient.java:141: warning: [deprecation] onExceededDatabaseQuota(String,String,l
ong,long,long,QuotaUpdater) in WebChromeClient has been deprecated
01:31:54.183 [ERROR] [system.err] public void onExceededDatabaseQuota(String
url, String databaseIdentifier, long currentQuota, long estimatedSize,
01:31:54.185 [ERROR] [system.err] ^
01:31:54.188 [ERROR] [system.err] /vagrant/phonegap-projects/minstrel/cordova/mi
nstrel/platforms/android/CordovaLib/src/org/apache/cordova/engine/SystemWebChrom
eClient.java:142: warning: [deprecation] QuotaUpdater in WebStorage has been dep
recated
01:31:54.198 [ERROR] [system.err] long totalUsedQuota, WebStorage.Qu
otaUpdater quotaUpdater)
01:31:54.200 [ERROR] [system.err] ^
01:31:54.209 [ERROR] [system.err] /vagrant/phonegap-projects/minstrel/cordova/mi
nstrel/platforms/android/CordovaLib/src/org/apache/cordova/engine/SystemWebChrom
eClient.java:186: warning: [deprecation] showCustomView(View,CustomViewCallback)
in CordovaWebView has been deprecated
01:31:54.216 [ERROR] [system.err] parentEngine.getCordovaWebView().showC
ustomView(view, callback);
01:31:54.223 [ERROR] [system.err] ^
01:31:54.225 [ERROR] [system.err] /vagrant/phonegap-projects/minstrel/cordova/mi
nstrel/platforms/android/CordovaLib/src/org/apache/cordova/engine/SystemWebChrom
eClient.java:191: warning: [deprecation] hideCustomView() in CordovaWebView has
been deprecated
01:31:54.235 [ERROR] [system.err] parentEngine.getCordovaWebView().hideC
ustomView();
01:31:54.243 [ERROR] [system.err] ^
01:31:54.391 [ERROR] [system.err] /vagrant/phonegap-projects/minstrel/cordova/mi
nstrel/platforms/android/CordovaLib/src/org/apache/cordova/engine/SystemWebViewC
lient.java:321: warning: [deprecation] shouldInterceptRequest(WebView,String) in
WebViewClient has been deprecated
01:31:54.393 [ERROR] [system.err] public WebResourceResponse shouldIntercept
Request(WebView view, String url) {
01:31:54.410 [ERROR] [system.err] ^
01:31:54.428 [ERROR] [system.err] 1 error
01:31:54.435 [ERROR] [system.err] 9 warnings
01:31:54.465 [ERROR] [org.gradle.BuildExceptionReporter]
01:31:54.473 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build failed w
ith an exception.
01:31:54.478 [ERROR] [org.gradle.BuildExceptionReporter]
01:31:54.490 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong:
01:31:54.495 [ERROR] [org.gradle.BuildExceptionReporter] Execution failed for ta
sk ':CordovaLib:compileDebugJava'.
01:31:54.500 [ERROR] [org.gradle.BuildExceptionReporter] > Compilation failed; s
ee the compiler error output for details.
01:31:54.510 [ERROR] [org.gradle.BuildExceptionReporter]
01:31:54.517 [ERROR] [org.gradle.BuildExceptionReporter] * Exception is:
01:31:54.526 [ERROR] [org.gradle.BuildExceptionReporter] org.gradle.api.tasks.Ta
skExecutionException: Execution failed for task ':CordovaLib:compileDebugJava'.
01:31:54.528 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ap
i.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActi
onsTaskExecuter.java:69)
01:31:54.536 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ap
i.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTask
Executer.java:46)
01:31:54.553 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ap
i.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecuti
onAnalysisTaskExecuter.java:35)
01:31:54.556 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ap
i.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExec
uter.java:64)
01:31:54.567 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ap
i.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter
.java:58)
01:31:54.577 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ap
i.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySou
rceFilesTaskExecuter.java:42)
01:31:54.590 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ap
i.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoA
ctionsExecuter.java:52)
01:31:54.599 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ap
i.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter
.java:53)
01:31:54.609 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ap
i.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOn
ceTaskExecuter.java:43)
01:31:54.621 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ap
i.internal.AbstractTask.executeWithoutThrowingTaskFailure(AbstractTask.java:305)
01:31:54.631 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ex
ecution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.executeTask(Abstra
ctTaskPlanExecutor.java:79)
01:31:54.642 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ex
ecution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(Abstra
ctTaskPlanExecutor.java:63)
01:31:54.651 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ex
ecution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPl
anExecutor.java:51)
01:31:54.662 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ex
ecution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:2
3)
01:31:54.672 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ex
ecution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java
:88)
01:31:54.681 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ex
ecution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:29)
01:31:54.691 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ex
ecution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:62)
01:31:54.693 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ex
ecution.DefaultBuildExecuter.access$200(DefaultBuildExecuter.java:23)
01:31:54.706 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ex
ecution.DefaultBuildExecuter$2.proceed(DefaultBuildExecuter.java:68)
01:31:54.711 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ex
ecution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)
01:31:54.719 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ex
ecution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:62)
01:31:54.723 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ex
ecution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:55)
01:31:54.731 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.in
itialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:149)
01:31:54.739 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.in
itialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:106)
01:31:54.742 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.in
itialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:86)
01:31:54.742 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.la
uncher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBui
ldActionExecuter.java:80)
01:31:54.761 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.la
uncher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:33)
01:31:54.767 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.la
uncher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:24)
01:31:54.788 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.la
uncher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.ja
va:36)
01:31:54.797 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.la
uncher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.ja
va:26)
01:31:54.809 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.la
uncher.cli.RunBuildAction.run(RunBuildAction.java:51)
01:31:54.820 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.in
ternal.Actions$RunnableActionAdapter.execute(Actions.java:171)
01:31:54.831 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.la
uncher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActio
nFactory.java:237)
01:31:54.840 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.la
uncher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActio
nFactory.java:210)
01:31:54.851 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.la
uncher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:
35)
01:31:54.871 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.la
uncher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:
24)
01:31:54.890 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.la
uncher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory
.java:206)
01:31:54.894 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.la
uncher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory
.java:169)
01:31:54.906 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.la
uncher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
01:31:54.913 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.la
uncher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
01:31:54.925 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.la
uncher.Main.doAction(Main.java:33)
01:31:54.937 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.la
uncher.bootstrap.EntryPoint.run(EntryPoint.java:45)
01:31:54.946 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.la
uncher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:54)
01:31:54.959 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.la
uncher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:35)
01:31:54.966 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.la
uncher.GradleMain.main(GradleMain.java:23)
01:31:54.972 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.wr
apper.BootstrapMainStarter.start(BootstrapMainStarter.java:33)
01:31:54.973 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.wr
apper.WrapperExecutor.execute(WrapperExecutor.java:130)
01:31:54.985 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.wr
apper.GradleWrapperMain.main(GradleWrapperMain.java:48)
01:31:54.994 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: org.gradle.a
pi.internal.tasks.compile.CompilationFailedException: Compilation failed; see th
e compiler error output for details.
01:31:55.003 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ap
i.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:44)
01:31:55.012 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ap
i.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:35)
01:31:55.017 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ap
i.internal.tasks.compile.NormalizingJavaCompiler.delegateAndHandleErrors(Normali
zingJavaCompiler.java:97)
01:31:55.028 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ap
i.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler
.java:50)
01:31:55.039 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ap
i.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler
.java:36)
01:31:55.048 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ap
i.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompile
rSupport.java:34)
01:31:55.059 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ap
i.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompile
rSupport.java:25)
01:31:55.069 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ap
i.tasks.compile.JavaCompile.performCompilation(JavaCompile.java:158)
01:31:55.075 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ap
i.tasks.compile.JavaCompile.compile(JavaCompile.java:138)
01:31:55.079 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ap
i.tasks.compile.JavaCompile.compile(JavaCompile.java:92)
01:31:55.091 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.in
ternal.reflect.JavaMethod.invoke(JavaMethod.java:63)
01:31:55.098 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ap
i.internal.project.taskfactory.AnnotationProcessingTaskFactory$IncrementalTaskAc
tion.doExecute(AnnotationProcessingTaskFactory.java:235)
01:31:55.100 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ap
i.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskActio
n.execute(AnnotationProcessingTaskFactory.java:211)
01:31:55.113 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ap
i.internal.project.taskfactory.AnnotationProcessingTaskFactory$IncrementalTaskAc
tion.execute(AnnotationProcessingTaskFactory.java:222)
01:31:55.119 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ap
i.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskActio
n.execute(AnnotationProcessingTaskFactory.java:200)
01:31:55.132 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ap
i.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActio
nsTaskExecuter.java:80)
01:31:55.133 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.ap
i.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActi
onsTaskExecuter.java:61)
01:31:55.137 [ERROR] [org.gradle.BuildExceptionReporter] ... 47 more
01:31:55.157 [ERROR] [org.gradle.BuildExceptionReporter]
#
[INFO] Removing minstrel ...
[INFO] Removing minstrel ... done
[INFO] Calling cordova create minstrel it.readbeyond.minstrel Minstrel ...
Creating a new cordova project.
[INFO] Calling cordova create minstrel it.readbeyond.minstrel Minstrel ... done
[INFO] Removing minstrel/config.xml ...
[INFO] Removing minstrel/config.xml ... done
[INFO] Removing minstrel/hooks ...
[INFO] Removing minstrel/hooks ... done
[INFO] Removing minstrel/www ...
[INFO] Removing minstrel/www ... done
[INFO] Creating sym links into minstrel ...
[INFO] Creating sym links into minstrel ... done
[INFO] Calling cordova platform add android ...
Adding android project...
Creating Cordova project for the Android platform:
Path: platforms/android
Package: it.readbeyond.minstrel
Name: Minstrel
Activity: MainActivity
Android target: android-22
Copying template files...
Android project created with [email protected]
Discovered plugin "cordova-plugin-whitelist" in config.xml. Installing to the project
Fetching plugin "cordova-plugin-whitelist@1" via npm
npm
http
GET https://registry.npmjs.org/cordova-plugin-whitelist
npm
http
304 https://registry.npmjs.org/cordova-plugin-whitelist
Installing "cordova-plugin-whitelist" for android
Running command: /vagrant/phonegap-projects/minstrel/cordova/minstrel/hooks/after_platform_add/100_copy_ios_custom_files.sh /vagrant/phonegap-projects/minstrel/cordova/minstrel
[INFO] Root dir is /vagrant/phonegap-projects/minstrel/cordova/minstrel ...
[INFO] Calling cordova platform add android ... done
[INFO] Reinstalling plugins ...
Plugin "readbeyond-plugin-commander" is not present in the project. See `cordova plugin list`.
Installing "readbeyond-plugin-commander" for android
Plugin "readbeyond-plugin-librarian" is not present in the project. See `cordova plugin list`.
Installing "readbeyond-plugin-librarian" for android
Plugin "readbeyond-plugin-media" is not present in the project. See `cordova plugin list`.
Installing "readbeyond-plugin-media" for android
Plugin "readbeyond-plugin-mediarb" is not present in the project. See `cordova plugin list`.
Installing "readbeyond-plugin-mediarb" for android
Plugin "readbeyond-plugin-unzipper" is not present in the project. See `cordova plugin list`.
Installing "readbeyond-plugin-unzipper" for android
[INFO] Reinstalling plugins ... done
[INFO] Building APK...
�[36m[phonegap]�[39m executing 'cordova build android'...
Running command: /vagrant/phonegap-projects/minstrel/cordova/minstrel/hooks/before_compile/100_copy_main_activity_java.sh /vagrant/phonegap-projects/minstrel/cordova/minstrel
[INFO] Root dir is /vagrant/phonegap-projects/minstrel/cordova/minstrel ...
[INFO] Copying /vagrant/phonegap-projects/minstrel/cordova/minstrel/static/android/MainActivity.java into /vagrant/phonegap-projects/minstrel/cordova/minstrel/platforms/android/src/it/readbeyond/minstrel/MainActivity.java ...
[INFO] Copying /vagrant/phonegap-projects/minstrel/cordova/minstrel/static/android/MainActivity.java into /vagrant/phonegap-projects/minstrel/cordova/minstrel/platforms/android/src/it/readbeyond/minstrel/MainActivity.java ... done
Running command: /vagrant/phonegap-projects/minstrel/cordova/minstrel/platforms/android/cordova/build
ANDROID_HOME=/opt/android-sdk-linux
JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64
Running: /vagrant/phonegap-projects/minstrel/cordova/minstrel/platforms/android/gradlew cdvBuildDebug -b /vagrant/phonegap-projects/minstrel/cordova/minstrel/platforms/android/build.gradle -Dorg.gradle.daemon=true
:preBuild
:compileDebugNdk
:preDebugBuild
:checkDebugManifest
:CordovaLib:compileLint
:CordovaLib:copyDebugLint
UP-TO-DATE
:CordovaLib:mergeDebugProguardFiles
:CordovaLib:preBuild
:CordovaLib:preDebugBuild
:CordovaLib:checkDebugManifest
:CordovaLib:prepareDebugDependencies
:CordovaLib:compileDebugAidl
:CordovaLib:compileDebugRenderscript
:CordovaLib:generateDebugBuildConfig
:CordovaLib:generateDebugAssets
UP-TO-DATE
:CordovaLib:mergeDebugAssets
:CordovaLib:generateDebugResValues
:CordovaLib:generateDebugResources
:CordovaLib:packageDebugResources
:CordovaLib:processDebugManifest
:CordovaLib:processDebugResources
:CordovaLib:generateDebugSources
:CordovaLib:compileDebugJava
/vagrant/phonegap-projects/minstrel/cordova/minstrel/platforms/android/CordovaLib/src/org/apache/cordova/NativeToJsMessageQueue.java:313: error: error while writing OnlineEventsBridgeModeDelegate: /vagrant/phonegap-projects/minstrel/cordova/minstrel/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/NativeToJsMessageQueue$OnlineEventsBridgeMode$OnlineEventsBridgeModeDelegate.class (Operation not permitted)
public interface OnlineEventsBridgeModeDelegate {
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error
FAILED
FAILURE:
Build failed with an exception.
* What went wrong:
Execution failed for task ':CordovaLib:compileDebugJava'.
>
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.
BUILD FAILED
Total time: 1 mins 20.791 secs
/vagrant/phonegap-projects/minstrel/cordova/minstrel/platforms/android/cordova/node_modules/q/q.js:126
throw e;
^
Error code 1 for command: /vagrant/phonegap-projects/minstrel/cordova/minstrel/platforms/android/gradlew with args: cdvBuildDebug,-b,/vagrant/phonegap-projects/minstrel/cordova/minstrel/platforms/android/build.gradle,-Dorg.gradle.daemon=true
ERROR building one of the platforms: Error: /vagrant/phonegap-projects/minstrel/cordova/minstrel/platforms/android/cordova/build: Command failed with exit code 1
You may not have the required environment or OS to build this project
Error: /vagrant/phonegap-projects/minstrel/cordova/minstrel/platforms/android/cordova/build: Command failed with exit code 1
at ChildProcess.whenDone (/nodejs/lib/node_modules/phonegap/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:131:23)
at ChildProcess.emit (events.js:110:17)
at maybeClose (child_process.js:1015:16)
at Process.ChildProcess._handle.onexit (child_process.js:1087:5)
[INFO] Building APK... done
[INFO] Copied APK to /tmp/minstrel-debug.apk
i have tried to change ext.cdvCompileSdkVersion, ext.cdvBuildToolsVersion, but not work.
anyone met the same problem?
i'm not familiar with andorid, what coould i do?
I use epubs mostly for studying, and one must-have for me is text-highlighting and note taking.
Is this planned?
Current sins, in order of importance:
<iframe>
, not directly into a <div>
in the app view;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.