i have install unknown sources checked....and i returned to stock and still persists.
On Saturday, November 24, 2018 at 6:56:03 PM UTC-5, Stephen Davis wrote: > > Honestly sir, I wouldn't recommend developing with lineage when you are a > beginner in android itself > > On Sat, Nov 24, 2018, 10:34 AM Bobby_Bouche <[email protected] > <javascript:>> wrote: > >> anything? >> >> On Friday, November 16, 2018 at 9:57:32 PM UTC-5, Stephen Davis wrote: >>> >>> Yeah, man. Unfortunately android isn't just java. Can you post the >>> whole error log because I can't see anything beyond "Unknown failure (at >>> android.os.Binder.execTransact(Binder.java:697))" I will say that a >>> failure to install an APK doesn't constitute a problem with your code >>> itself but the Android Studio environment clashing with the OS of your >>> device in some fashion. Do you have "Install From Unknown Sources" checked >>> off in your phone settings? >>> >>> On Friday, November 16, 2018 at 5:27:55 PM UTC-5, Bobby_Bouche wrote: >>>> >>>> This is what i got. IT fails to installl apk... >>>> >>>> import android.support.v7.app.AppCompatActivity; >>>> import android.os.Bundle; >>>> import android.widget.ProgressBar; >>>> import org.bitcoinj.core.Context; >>>> import org.bitcoinj.core.NetworkParameters; >>>> import org.bitcoinj.core.listeners.DownloadProgressTracker; >>>> import org.bitcoinj.kits.WalletAppKit; >>>> import org.bitcoinj.params.TestNet3Params; >>>> >>>> import java.io.File; >>>> import java.util.Date; >>>> >>>> public class MainActivity extends AppCompatActivity { >>>> >>>> public static NetworkParameters BTCparams = TestNet3Params.get(); >>>> public static WalletAppKit BTCkit = new WalletAppKit(BTCparams,new >>>> File("."),"BTC-Test"); >>>> private ProgressBar BTCProgress; >>>> >>>> @Override >>>> protected void onCreate(Bundle savedInstanceState) { >>>> super.onCreate(savedInstanceState); >>>> setContentView(R.layout.activity_main); >>>> BTCProgress = findViewById(R.id.BTCProgress); >>>> Context.propagate(new Context(BTCparams)); >>>> DownloadProgressTracker BTCListener = new >>>> DownloadProgressTracker() { >>>> @Override >>>> public void progress(double pct, int blocksSoFar, Date date) { >>>> System.out.println("Syncing..."+pct+"%"); >>>> BTCProgress.setProgress((int) pct); >>>> } >>>> @Override >>>> public void doneDownload() { >>>> System.out.println("Sync Done."); >>>> BTCProgress.setProgress(100); >>>> } >>>> }; >>>> >>>> BTCkit.setDownloadListener(BTCListener).setBlockingStartup(false).startAsync().awaitRunning(); >>>> } >>>> } >>>> >>>> >>>> Unknown failure (at android.os.Binder.execTransact(Binder.java:697)) >>>> Error while Installing APKs >>>> >>>> This is a pretty simple script and i know this code works in a normal >>>> java program. >>>> >>> -- >> You received this message because you are subscribed to the Google Groups >> "bitcoinj" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > -- You received this message because you are subscribed to the Google Groups "bitcoinj" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
