android signing
This commit is contained in:
@@ -31,7 +31,8 @@ DECLARE_BUILD_STAGE(android_build)
|
||||
filesystem2->MakeDirectory(CUtlString("%s/lib/x86_64",szManifestDir.GetString()));
|
||||
filesystem2->CopyFile(CUtlString("%s/lib/x86_64/libnative-app.so",szManifestDir.GetString()), szOutputDir);
|
||||
|
||||
APKTool()->BuildPackage(manifest, szManifestDir);
|
||||
CUtlString szApk = APKTool()->BuildPackage(manifest, szManifestDir);
|
||||
APKTool()->SignPackage(szApk, NULL, "mykey", "storepass", "storepass");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -26,6 +26,7 @@ void android_main(struct android_app* app) {
|
||||
struct android_poll_source* source;
|
||||
|
||||
while (1) {
|
||||
LOGI("what");
|
||||
int ident;
|
||||
while ((ident = ALooper_pollOnce(0, NULL, &events, (void**)&source)) >= 0) {
|
||||
if (source) source->process(app, source);
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user