#!/bin/sh
sudo apt-get install -y openssl build-essential xorg libssl-dev
wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.4/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz
tar xf wkhtmltox-0.12.4_linux-generic-amd64.tar.xz
cd wkhtmltox/bin/
mv wkhtmltopdf /usr/bin/wkhtmltopdf
mv wkhtmltoimage /usr/bin/wkhtmltoimage
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In in.viato.app:1.0:1. | |
* FAILURE: | |
org.eclipse.mat.SnapshotException: SnapshotImpl_Error_ObjectNotFound | |
at org.eclipse.mat.parser.internal.SnapshotImpl.mapAddressToId(SnapshotImpl.java:1194) | |
at org.eclipse.mat.snapshot.model.ObjectReference.getObjectId(ObjectReference.java:38) | |
at org.eclipse.mat.snapshot.model.ObjectReference.getObject(ObjectReference.java:42) | |
at org.eclipse.mat.parser.model.AbstractObjectImpl.resolveValue(AbstractObjectImpl.java:149) | |
at com.squareup.leakcanary.HeapAnalyzer.findLeakingReference(HeapAnalyzer.java:161) | |
at com.squareup.leakcanary.HeapAnalyzer.checkForLeak(HeapAnalyzer.java:95) | |
at com.squareup.leakcanary.internal.HeapAnalyzerService.onHandleIntent(HeapAnalyzerService.java:57) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<android.support.v4.widget.DrawerLayout | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
android:id="@+id/navdrawer_layout" | |
android:layout_height="match_parent" | |
android:layout_width="match_parent" | |
android:fitsSystemWindows="true"> | |
<android.support.design.widget.CoordinatorLayout |
// To initialize the ArrayList with the same value for all of its elements // count is number of elements and element is the item value List arrList = new ArrayList(Collections.nCopies(count, element));