Compiler APK's crash ?

Please post anything related to the Hollywood APK Compiler here
Post Reply
plouf
Posts: 23
Joined: Mon Feb 05, 2018 12:51 am

Compiler APK's crash ?

Post by plouf » Sun Feb 18, 2018 10:47 pm

Hello i just download APK compiler and tried some apps

whatever i try to compile it crash on phone. i.e. start and crash immediately ! (not drawing nothing just crash)

offcouse app is runing ok with player, but i have also tried demo examples (circle etc)
tried both arm and arm7 ... phone is NEXUS 5 with android6.0

compilation is supposed successful (attached compilation output)

Code: Select all

/android.toolchain.cmake:243 (message):
  armeabi is deprecated and will be removed in a future NDK release.
Call Stack (most recent call first):
  C:/Users/plouf/AppData/Local/Temp/holFD24.tmp/app/.externalNativeBuild/cmake/a
rmDebug/armeabi/CMakeFiles/3.6.0-rc2/CMakeSystem.cmake:6 (include)
  C:/Users/plouf/AppData/Local/Temp/holFD24.tmp/app/.externalNativeBuild/cmake/a
rmDebug/armeabi/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project)
CMake Warning at C:/Users/plouf/AppData/Local/Android/Sdk/ndk-bundle/build/cmake
/android.toolchain.cmake:243 (message):
  armeabi is deprecated and will be removed in a future NDK release.
Call Stack (most recent call first):
  C:/Users/plouf/AppData/Local/Temp/holFD24.tmp/app/.externalNativeBuild/cmake/a
rmDebug/armeabi/CMakeFiles/3.6.0-rc2/CMakeSystem.cmake:6 (include)
  C:/Users/plouf/AppData/Local/Temp/holFD24.tmp/app/.externalNativeBuild/cmake/a
rmDebug/armeabi/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project)
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/plouf/AppData/Local/Temp/holFD24.t
mp/app/.externalNativeBuild/cmake/armDebug/armeabi

> Task :app:externalNativeBuildArmDebug
Build ar88_helper armeabi
[1/4] Building C object CMakeFiles/app-glue.dir/C_/Users/plouf/AppData/Local/And
roid/Sdk/ndk-bundle/sources/android/native_app_glue/android_native_app_glue.c.o
[2/4] Linking C static library libapp-glue.a
[3/4] Building C object CMakeFiles/ar88_helper.dir/main.c.o
C:\Users\plouf\AppData\Local\Temp\holFD24.tmp\app\src\main\cpp\main.c:63:2: warn
ing: 'app_dummy' is deprecated: Calls to app_dummy are no longer necessary. See
https://github.com/android-ndk/ndk/issues/381. [-Wdeprecated-declarations]
        app_dummy();
        ^
C:/Users/plouf/AppData/Local/Android/Sdk/ndk-bundle/sources/android/native_app_g
lue\android_native_app_glue.h:340:5: note: 'app_dummy' has been explicitly marke
d deprecated here
    deprecated("Calls to app_dummy are no longer necessary. See "
    ^
1 warning generated.
[4/4] Linking C shared library C:\Users\plouf\AppData\Local\Temp\holFD24.tmp\app
\build\intermediates\cmake\arm\debug\obj\armeabi\libar88_helper.so

> Task :app:compileArm7ReleaseJavaWithJavac
Note: C:\Users\plouf\AppData\Local\Temp\holFD24.tmp\app\src\main\pch\HollywoodAc
tivity.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

> Task :app:generateJsonModelArm7Release
CMake Warning at C:/Users/plouf/AppData/Local/Android/Sdk/ndk-bundle/build/cmake
/android.toolchain.cmake:63 (message):
  Using custom NDK path (ANDROID_NDK is set):
  C:\Users\plouf\AppData\Local\Android\Sdk\ndk-bundle
Call Stack (most recent call first):
  C:/Users/plouf/AppData/Local/Android/Sdk/cmake/3.6.4111459/share/cmake-3.6/Mod
ules/CMakeDetermineSystem.cmake:98 (include)
  CMakeLists.txt
-- Check for working C compiler: C:/Users/plouf/AppData/Local/Android/Sdk/ndk-bu
ndle/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe
-- Check for working C compiler: C:/Users/plouf/AppData/Local/Android/Sdk/ndk-bu
ndle/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: C:/Users/plouf/AppData/Local/Android/Sdk/ndk-
bundle/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe
-- Check for working CXX compiler: C:/Users/plouf/AppData/Local/Android/Sdk/ndk-
bundle/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/plouf/AppData/Local/Temp/holFD24.t
mp/app/.externalNativeBuild/cmake/arm7Release/armeabi-v7a

> Task :app:externalNativeBuildArm7Release
Build ar88_helper armeabi-v7a
[
1
/
4
]

B
u
i
l
d
i
n
g

C

o
b
j
e
c
t

C
M
akeF
i
les
/
app-g
l
u
e
.dir/C_/Users/plouf/AppData/Local/Android/Sdk/ndk-bundle/sources/android/native_
app_glue/android_native_app_glue.c.o
[2/4] Linking C static library libapp-glue.a
[3/4] Building C object CMakeFiles/ar88_helper.dir/main.c.o
C:\Users\plouf\AppData\Local\Temp\holFD24.tmp\app\src\main\cpp\main.c:63:2: warn
ing: 'app_dummy' is deprecated: Calls to app_dummy are no longer necessary. See
https://github.com/android-ndk/ndk/issues/381. [-Wdeprecated-declarations]
        app_dummy();
        ^
C:/Users/plouf/AppData/Local/Android/Sdk/ndk-bundle/sources/android/native_app_g
lue\android_native_app_glue.h:340:5: note: 'app_dummy' has been explicitly marke
d deprecated here
    deprecated("Calls to app_dummy are no longer necessary. See "
    ^
1 warning generated.
[4/4] Linking C shared library C:\Users\plouf\AppData\Local\Temp\holFD24.tmp\app
\build\intermediates\cmake\arm7\release\obj\armeabi-v7a\libar88_helper.so

> Task :app:transformClassesWithPreDexForArm7Release

Running dex as a separate process.

To run dex in process, the Gradle daemon needs a larger heap.
It currently has 1024 MB.
For faster builds, increase the maximum heap size for the Gradle daemon to at le
ast 1536 MB.
To do this set org.gradle.jvmargs=-Xmx1536M in the project gradle.properties.
For more information see https://docs.gradle.org/current/userguide/build_environ
ment.html


> Task :app:compileArmReleaseJavaWithJavac
Note: C:\Users\plouf\AppData\Local\Temp\holFD24.tmp\app\src\main\pch\HollywoodAc
tivity.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

> Task :app:generateJsonModelArmRelease
CMake Warning at C:/Users/plouf/AppData/Local/Android/Sdk/ndk-bundle/build/cmake
/android.toolchain.cmake:63 (message):
  Using custom NDK path (ANDROID_NDK is set):
  C:\Users\plouf\AppData\Local\Android\Sdk\ndk-bundle
Call Stack (most recent call first):
  C:/Users/plouf/AppData/Local/Android/Sdk/cmake/3.6.4111459/share/cmake-3.6/Mod
ules/CMakeDetermineSystem.cmake:98 (include)
  CMakeLists.txt
CMake Warning at C:/Users/plouf/AppData/Local/Android/Sdk/ndk-bundle/build/cmake
/android.toolchain.cmake:243 (message):
  armeabi is deprecated and will be removed in a future NDK release.
Call Stack (most recent call first):
  C:/Users/plouf/AppData/Local/Android/Sdk/cmake/3.6.4111459/share/cmake-3.6/Mod
ules/CMakeDetermineSystem.cmake:98 (include)
  CMakeLists.txt
-- Check for working C compiler: C:/Users/plouf/AppData/Local/Android/Sdk/ndk-bu
ndle/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe
CMake Warning at C:/Users/plouf/AppData/Local/Android/Sdk/ndk-bundle/build/cmake
/android.toolchain.cmake:243 (message):
  armeabi is deprecated and will be removed in a future NDK release.
Call Stack (most recent call first):
  C:/Users/plouf/AppData/Local/Temp/holFD24.tmp/app/.externalNativeBuild/cmake/a
rmRelease/armeabi/CMakeFiles/3.6.0-rc2/CMakeSystem.cmake:6 (include)
  C:/Users/plouf/AppData/Local/Temp/holFD24.tmp/app/.externalNativeBuild/cmake/a
rmRelease/armeabi/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project)
-- Check for working C compiler: C:/Users/plouf/AppData/Local/Android/Sdk/ndk-bu
ndle/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe -- works
-- Detecting C compiler ABI info
CMake Warning at C:/Users/plouf/AppData/Local/Android/Sdk/ndk-bundle/build/cmake
/android.toolchain.cmake:243 (message):
  armeabi is deprecated and will be removed in a future NDK release.
Call Stack (most recent call first):
  C:/Users/plouf/AppData/Local/Temp/holFD24.tmp/app/.externalNativeBuild/cmake/a
rmRelease/armeabi/CMakeFiles/3.6.0-rc2/CMakeSystem.cmake:6 (include)
  C:/Users/plouf/AppData/Local/Temp/holFD24.tmp/app/.externalNativeBuild/cmake/a
rmRelease/armeabi/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project)
-- Detecting C compiler ABI info - done
-- Detecting C compile features
CMake Warning at C:/Users/plouf/AppData/Local/Android/Sdk/ndk-bundle/build/cmake
/android.toolchain.cmake:243 (message):
  armeabi is deprecated and will be removed in a future NDK release.
Call Stack (most recent call first):
  C:/Users/plouf/AppData/Local/Temp/holFD24.tmp/app/.externalNativeBuild/cmake/a
rmRelease/armeabi/CMakeFiles/3.6.0-rc2/CMakeSystem.cmake:6 (include)
  C:/Users/plouf/AppData/Local/Temp/holFD24.tmp/app/.externalNativeBuild/cmake/a
rmRelease/armeabi/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project)
CMake Warning at C:/Users/plouf/AppData/Local/Android/Sdk/ndk-bundle/build/cmake
/android.toolchain.cmake:243 (message):
  armeabi is deprecated and will be removed in a future NDK release.
Call Stack (most recent call first):
  C:/Users/plouf/AppData/Local/Temp/holFD24.tmp/app/.externalNativeBuild/cmake/a
rmRelease/armeabi/CMakeFiles/3.6.0-rc2/CMakeSystem.cmake:6 (include)
  C:/Users/plouf/AppData/Local/Temp/holFD24.tmp/app/.externalNativeBuild/cmake/a
rmRelease/armeabi/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project)
CMake Warning at C:/Users/plouf/AppData/Local/Android/Sdk/ndk-bundle/build/cmake
/android.toolchain.cmake:243 (message):
  armeabi is deprecated and will be removed in a future NDK release.
Call Stack (most recent call first):
  C:/Users/plouf/AppData/Local/Temp/holFD24.tmp/app/.externalNativeBuild/cmake/a
rmRelease/armeabi/CMakeFiles/3.6.0-rc2/CMakeSystem.cmake:6 (include)
  C:/Users/plouf/AppData/Local/Temp/holFD24.tmp/app/.externalNativeBuild/cmake/a
rmRelease/armeabi/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project)
-- Detecting C compile features - done
-- Check for working CXX compiler: C:/Users/plouf/AppData/Local/Android/Sdk/ndk-
bundle/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe
CMake Warning at C:/Users/plouf/AppData/Local/Android/Sdk/ndk-bundle/build/cmake
/android.toolchain.cmake:243 (message):
  armeabi is deprecated and will be removed in a future NDK release.
Call Stack (most recent call first):
  C:/Users/plouf/AppData/Local/Temp/holFD24.tmp/app/.externalNativeBuild/cmake/a
rmRelease/armeabi/CMakeFiles/3.6.0-rc2/CMakeSystem.cmake:6 (include)
  C:/Users/plouf/AppData/Local/Temp/holFD24.tmp/app/.externalNativeBuild/cmake/a
rmRelease/armeabi/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project)
-- Check for working CXX compiler: C:/Users/plouf/AppData/Local/Android/Sdk/ndk-
bundle/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe -- works
-- Detecting CXX compiler ABI info
CMake Warning at C:/Users/plouf/AppData/Local/Android/Sdk/ndk-bundle/build/cmake
/android.toolchain.cmake:243 (message):
  armeabi is deprecated and will be removed in a future NDK release.
Call Stack (most recent call first):
  C:/Users/plouf/AppData/Local/Temp/holFD24.tmp/app/.externalNativeBuild/cmake/a
rmRelease/armeabi/CMakeFiles/3.6.0-rc2/CMakeSystem.cmake:6 (include)
  C:/Users/plouf/AppData/Local/Temp/holFD24.tmp/app/.externalNativeBuild/cmake/a
rmRelease/armeabi/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project)
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
CMake Warning at C:/Users/plouf/AppData/Local/Android/Sdk/ndk-bundle/build/cmake
/android.toolchain.cmake:243 (message):
  armeabi is deprecated and will be removed in a future NDK release.
Call Stack (most recent call first):
  C:/Users/plouf/AppData/Local/Temp/holFD24.tmp/app/.externalNativeBuild/cmake/a
rmRelease/armeabi/CMakeFiles/3.6.0-rc2/CMakeSystem.cmake:6 (include)
  C:/Users/plouf/AppData/Local/Temp/holFD24.tmp/app/.externalNativeBuild/cmake/a
rmRelease/armeabi/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project)
CMake Warning at C:/Users/plouf/AppData/Local/Android/Sdk/ndk-bundle/build/cmake
/android.toolchain.cmake:243 (message):
  armeabi is deprecated and will be removed in a future NDK release.
Call Stack (most recent call first):
  C:/Users/plouf/AppData/Local/Temp/holFD24.tmp/app/.externalNativeBuild/cmake/a
rmRelease/armeabi/CMakeFiles/3.6.0-rc2/CMakeSystem.cmake:6 (include)
  C:/Users/plouf/AppData/Local/Temp/holFD24.tmp/app/.externalNativeBuild/cmake/a
rmRelease/armeabi/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project)
CMake Warning at C:/Users/plouf/AppData/Local/Android/Sdk/ndk-bundle/build/cmake
/android.toolchain.cmake:243 (message):
  armeabi is deprecated and will be removed in a future NDK release.
Call Stack (most recent call first):
  C:/Users/plouf/AppData/Local/Temp/holFD24.tmp/app/.externalNativeBuild/cmake/a
rmRelease/armeabi/CMakeFiles/3.6.0-rc2/CMakeSystem.cmake:6 (include)
  C:/Users/plouf/AppData/Local/Temp/holFD24.tmp/app/.externalNativeBuild/cmake/a
rmRelease/armeabi/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project)
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/plouf/AppData/Local/Temp/holFD24.t
mp/app/.externalNativeBuild/cmake/armRelease/armeabi

> Task :app:externalNativeBuildArmRelease
Build ar88_helper armeabi
[1/4] Building C object CMakeFiles/app-glue.dir/C_/Users/plouf/AppData/Local/And
roid/Sdk/ndk-bundle/sources/android/native_app_
glue/android_native_app_glue.c.o
[2/4] Linking C static library libapp-glue.a
[3/4] Building C object CMakeFiles/ar88_helper.dir/main.c.o
C:\Users\plouf\AppData\Local\Temp\holFD24.tmp\app\src\main\cpp\main.c:63:2: warn
ing: 'app_dummy' is deprecated: Calls to app_dummy are no longer necessary. See
https://github.com/android-ndk/ndk/issues/381. [-Wdeprecated-declarations]
        app_dummy();
        ^
C:/Users/plouf/AppData/Local/Android/Sdk/ndk-bundle/sources/android/native_app_g
lue\android_native_app_glue.h:340:5: note: 'app_dummy' has been explicitly marke
d deprecated here
    deprecated("Calls to app_dummy are no longer necessary. See "
    ^
1 warning generated.
[4/4] Linking C shared library C:\Users\plouf\AppData\Local\Temp\holFD24.tmp\app
\build\intermediates\cmake\arm\release\obj\armeabi\libar88_helper.so

> Task :app:lint
Ran lint on variant armDebug: 54 issues found
Ran lint on variant arm7Debug: 54 issues found
Ran lint on variant arm7Release: 54 issues found
Ran lint on variant armRelease: 54 issues found
Wrote HTML report to file:///C:/Users/plouf/AppData/Local/Temp/holFD24.tmp/app/b
uild/reports/lint-results.html
Wrote XML report to file:///C:/Users/plouf/AppData/Local/Temp/holFD24.tmp/app/bu
ild/reports/lint-results.xml


BUILD SUCCESSFUL in 27s
113 actionable tasks: 113 executed
Πιέστε ένα πλήκτρο για συνέχεια. . .

User avatar
airsoftsoftwair
Posts: 2558
Joined: Fri Feb 12, 2010 3:33 pm
Location: Germany
Contact:

Re: Compiler APK's crash ?

Post by airsoftsoftwair » Mon Feb 19, 2018 9:49 pm

Does it show the "Powered by Hollywood" screen?

plouf
Posts: 23
Joined: Mon Feb 05, 2018 12:51 am

Re: Compiler APK's crash ?

Post by plouf » Mon Feb 19, 2018 10:41 pm

nop just crash -> https://ibb.co/ibeC37
message says "unfortunately App ... has stoped " and instand closes.


updated to apk compiler 2.3 ... no change

User avatar
airsoftsoftwair
Posts: 2558
Joined: Fri Feb 12, 2010 3:33 pm
Location: Germany
Contact:

Re: Compiler APK's crash ?

Post by airsoftsoftwair » Wed Feb 21, 2018 8:44 pm

Can you upload the APK so that I can check if it crashes here too?

plouf
Posts: 23
Joined: Mon Feb 05, 2018 12:51 am

Re: Compiler APK's crash ?

Post by plouf » Wed Feb 21, 2018 9:59 pm

https://ufile.io/pd405

all3 apk's hwa/hws/bgpic

User avatar
airsoftsoftwair
Posts: 2558
Joined: Fri Feb 12, 2010 3:33 pm
Location: Germany
Contact:

Re: Compiler APK's crash ?

Post by airsoftsoftwair » Wed Feb 21, 2018 11:45 pm

Ok, looks like you're using an invalid package name. Package names have to be in reverse DNS notation and may only use characters that are valid in domain names. It looks like you're using the underscore character ("_") in the package name. This is not allowed. Try removing it.

plouf
Posts: 23
Joined: Mon Feb 05, 2018 12:51 am

Re: Compiler APK's crash ?

Post by plouf » Thu Feb 22, 2018 12:58 am

AMAZING !! thanx !
i would never ever would think about it... (otoh playstore has accept it when i create a test app..)

can this intro "hollywood" screen removed ?

p-OS
Posts: 89
Joined: Tue Nov 02, 2010 12:56 am

Re: Compiler APK's crash ?

Post by p-OS » Thu Feb 22, 2018 1:39 am

Also: package name may not be set to a value, that end in ".test", otherwise CMake will fail !

User avatar
airsoftsoftwair
Posts: 2558
Joined: Fri Feb 12, 2010 3:33 pm
Location: Germany
Contact:

Re: Compiler APK's crash ?

Post by airsoftsoftwair » Sat Feb 24, 2018 1:47 pm

plouf wrote:Can this intro "hollywood" screen removed ?
Sorry, no, I'm just waiting for one of you writing a killer app with Hollywood and then get a piece of the action ;-)

Of course there is also a non-branded version for industrial customers but it will be expensive :-)

User avatar
airsoftsoftwair
Posts: 2558
Joined: Fri Feb 12, 2010 3:33 pm
Location: Germany
Contact:

Re: Compiler APK's crash ?

Post by airsoftsoftwair » Sat Feb 24, 2018 3:40 pm

Code: Select all

- Change: The APK Compiler now verifies that the package identifier is specified in a valid reverse
  DNS notation; it also forbids package identifiers ending in ".test" as this conflicts with CMake

Post Reply