I
I
Ilya2016-10-02 21:07:53
Android
Ilya, 2016-10-02 21:07:53

"unfortunately telegram beta has stopped" from Telegram sources github. How to win?

I'm trying to build telegram from source https://github.com/DrKLO/Telegram
Filled in APP_ID, APP_HASH, HOCKEY_APP_HASH, GCM_SENDER_ID. Started accordingly everywhere the accounts of the developers.
When you try to start on the emulator (Genymotion. Android 4.4.4), the error "unfortunately telegram beta has stopped" crashes.
Thanks in advance!
Log:

10-02 13:59:07.159 15784-15784/? D/dalvikvm: Late-enabling CheckJNI
10-02 13:59:07.179 15784-15784/? I/dalvikvm: Could not find method android.content.Context.isDeviceProtectedStorage, referenced from method com.google.firebase.FirebaseApp.zza
10-02 13:59:07.179 15784-15784/? W/dalvikvm: VFY: unable to resolve virtual method 471: Landroid/content/Context;.isDeviceProtectedStorage ()Z
10-02 13:59:07.179 15784-15784/? D/dalvikvm: VFY: replacing opcode 0x6e at 0x0009
10-02 13:59:07.179 15784-15784/? D/FirebaseApp: com.google.firebase.auth.FirebaseAuth is not linked. Skipping initialization.
10-02 13:59:07.235 15784-15784/org.telegram.messenger.beta I/dalvikvm: Could not find method android.content.Context.getNoBackupFilesDir, referenced from method com.google.android.gms.common.util.zzx.getNoBackupFilesDir
10-02 13:59:07.235 15784-15784/org.telegram.messenger.beta W/dalvikvm: VFY: unable to resolve virtual method 459: Landroid/content/Context;.getNoBackupFilesDir ()Ljava/io/File;
10-02 13:59:07.235 15784-15784/org.telegram.messenger.beta D/dalvikvm: VFY: replacing opcode 0x6e at 0x0006
10-02 13:59:07.239 15784-15784/org.telegram.messenger.beta W/InstanceID/Rpc: Found 10066
10-02 13:59:07.239 15784-15784/org.telegram.messenger.beta D/FirebaseApp: com.google.firebase.crash.FirebaseCrash is not linked. Skipping initialization.
10-02 13:59:07.239 15784-15784/org.telegram.messenger.beta I/dalvikvm: Could not find method android.content.pm.PackageManager.getPackageInstaller, referenced from method com.google.android.gms.common.zze.zzs
10-02 13:59:07.239 15784-15784/org.telegram.messenger.beta W/dalvikvm: VFY: unable to resolve virtual method 601: Landroid/content/pm/PackageManager;.getPackageInstaller ()Landroid/content/pm/PackageInstaller;
10-02 13:59:07.239 15784-15784/org.telegram.messenger.beta D/dalvikvm: VFY: replacing opcode 0x6e at 0x001b
10-02 13:59:07.251 15784-15784/org.telegram.messenger.beta I/FA: App measurement is starting up, version: 9683
10-02 13:59:07.251 15784-15784/org.telegram.messenger.beta I/FA: To enable debug logging run: adb shell setprop log.tag.FA VERBOSE
10-02 13:59:07.251 15784-15784/org.telegram.messenger.beta D/FA: Debug-level message logging enabled
10-02 13:59:07.251 15784-15784/org.telegram.messenger.beta D/FA: AppMeasurement singleton hash: 1384502936
10-02 13:59:07.271 15784-15784/org.telegram.messenger.beta V/FA: Collection enabled
10-02 13:59:07.271 15784-15784/org.telegram.messenger.beta V/FA: App package, google app id: org.telegram.messenger.beta
10-02 13:59:07.271 15784-15784/org.telegram.messenger.beta I/FA: To enable faster debug mode event logging run:
                                                                   adb shell setprop firebase.analytics.debug-mode org.telegram.messenger.beta
10-02 13:59:07.275 15784-15784/org.telegram.messenger.beta V/FA: Registered activity lifecycle callback
10-02 13:59:07.275 15784-15784/org.telegram.messenger.beta I/FirebaseInitProvider: FirebaseApp initialization successful
10-02 13:59:07.279 15784-15784/org.telegram.messenger.beta D/dalvikvm: GC_FOR_ALLOC freed 347K, 11% free 3675K/4084K, paused 3ms, total 3ms
10-02 13:59:07.279 15784-15784/org.telegram.messenger.beta D/dalvikvm: DexOpt: couldn't find static field Landroid/os/Build;.SUPPORTED_ABIS
10-02 13:59:07.279 15784-15784/org.telegram.messenger.beta W/dalvikvm: VFY: unable to resolve static field 172 (SUPPORTED_ABIS) in Landroid/os/Build;
10-02 13:59:07.279 15784-15784/org.telegram.messenger.beta D/dalvikvm: VFY: replacing opcode 0x62 at 0x0006
10-02 13:59:07.283 15784-15784/org.telegram.messenger.beta D/dalvikvm: Trying to load lib /data/app-lib/org.telegram.messenger.beta-2/libtmessages.22.so 0xa509e148
10-02 13:59:07.287 15784-15809/org.telegram.messenger.beta E/FA: AppMeasurementReceiver not registered/enabled
10-02 13:59:07.287 15784-15809/org.telegram.messenger.beta E/FA: AppMeasurementService not registered/enabled
10-02 13:59:07.287 15784-15809/org.telegram.messenger.beta E/FA: Uploading is not possible. App measurement disabled
10-02 13:59:07.311 15784-15784/org.telegram.messenger.beta A/libc: Fatal signal 11 (SIGSEGV) at 0x000000b4 (code=1), thread 15784 (.messenger.beta)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rou1997, 2016-10-02
@Rou1997

Building such projects from source code is clearly not the right time to write "thanks in advance" on the Toaster, Genymotion is also not the best place to run applications with JNI, it's even worse to work with JNI without being able to debug with gdb or lldb, and very bad when you see explicit references in the log about using a third-party library (Firebase), do not try to localize attention on this library and solve the problem with it separately, in general, acquire the necessary approach, skills, knowledge, or entrust it to a specialist and not for "thank you".

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question